import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int[] call = new int[n];
int[] myclass = new int[23];
for(int i=0; i<call.length; i++){
int b = sc.nextInt();
call[i] = b;
for(int j = 0; j<myclass.length; j++) {
if(call[i] == j+1){
myclass[j] = myclass[j]+1;
}
}
}
for(int k=0; k<23; k++){
System.out.print(myclass[k] + " ");
}
}
}