#include<bits/stdc++.h> using namespace std; #define INF 0x3f3f3f3f int main() { int t,sum=0,i=0,minn=INF,maxx=-INF; double ans; while(cin>>t) { if(t>maxx) { maxx=t; } if(t<minn) { minn=t; } sum+=t; i++; } ans=(double)sum/i; cout<<minn<<" "<<maxx<<" "; printf("%.3lf",ans); return 0; }