#include
int main()
{
double s;
int a[10000];
int i,n,d;
while(~scanf("%d",&n))
{
d=0;
s=0;
for(i=0; i scanf("%d",&a[i]); for(i=0; i s+=a[i]; s/=n; for(i=0; i if(a[i]>=60) d++; printf("average = %.1lf\ncount = %d\n",s,d); } return 0; }