#include<stdio.h>
int main()
{
int number,count,sum;
sum=0;
count=0;
do{
scanf("%d",&number);
if(number!=-1){
sum=sum+number;
count=count+1;
}
} while(number!=-1);
printf("%f\n",1.0*sum/count);
return 0;
}
#include<stdio.h>
int main()
{
int number,count,sum;
sum=0;
count=0;
do{
scanf("%d",&number);
if(number!=-1){
sum=sum+number;
count=count+1;
}
} while(number!=-1);
printf("%f\n",1.0*sum/count);
return 0;
}