#include<stdio.h>
#include<limits.h>
#define LOCAL
int main()
{
int x,sum=0,n=0;
int min=INT_MAX,max=INT_MIN;
#ifdef LOCAL
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
while(scanf("%d",&x)==1)
{
sum+=x;
if(x<min)min=x;
if(x>max) max=x;
n++;
}
printf("min=%d\n max=%d\navg=%.3lf\n",min,max,(double)(sum/n));
}
#include<limits.h>
#define LOCAL
int main()
{
int x,sum=0,n=0;
int min=INT_MAX,max=INT_MIN;
#ifdef LOCAL
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
while(scanf("%d",&x)==1)
{
sum+=x;
if(x<min)min=x;
if(x>max) max=x;
n++;
}
printf("min=%d\n max=%d\navg=%.3lf\n",min,max,(double)(sum/n));
}