题目链接:http://bailian.openjudge.cn/practice/2676
# include <stdio.h>
int main()
{
int k,n,i;
int a=0,b=0,c=0;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&k);
if(k==1)
a++;
if(k==5)
b++;
if(k==10)
c++;
}
printf("%d\n%d\n%d\n",a,b,c);
return 0;
}