import java.util.Scanner;
public class Java
{
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
int n,sum[]=new int [7];
for(int i=1;i<=10;i++)
{
n=s.nextInt();
if(n>=1&&n<=6)
sum[n]++;
else
sum[0]++;
}
for(int i=1;i<=6;i++)
System.out.println("number"+i+":"+sum[i]);
System.out.println("error:"+sum[0]);
}
} |