#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
int main()
{
int n=0;
double sum=0,t;
char ch;
while((ch=getchar())==' ');
ungetc(ch,stdin);
while(ch!='\n'){
scanf("%lf",&t);
sum+=t;
n++;
while((ch=getchar())==' ');
ungetc(ch,stdin);
}
printf("avg=%.2lf\n",sum/n);
system("pause");
}