#include<stdio.h>
int main()
{ float score,sum=0,average,num1,sum1;
int n=0;
scanf("%f",&score);
while(score>=0)
{
sum+=score;
n++;
scanf("%f",&score);
}
if(n!=0)average=sum/n;
printf("%-6.2f\n",average);
num1=1,sum1=2;
if(score<60)
{
num1++;
sum1+=num1;
}
printf("%.0f\n",sum1);
return 0;
}