#include<stdio.h>
void main()
{
int m,n,i,test,sum,count;
printf("Input:
");
scanf("%d",&n);
count=0;
sum=0;
for(i=0;i<n;i++)
{
scanf("%d",&test);
sum=sum+test;
if(test>=60)
count++;
}
printf("avr=%.2f
",sum*1.0/n);
printf("pass=%d
",count);
printf("fail=%d
",n-count);
}