//package beg_163;

import java.util.*;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		String cryvgtubhi = s.nextLine();
		
		String[] l = s.nextLine().split(" ");
		int[] list = new int[l.length];
		
		for (int i=0;i<l.length;i++) {
			list[i]=Integer.parseInt(l[i]);
		}
		int[] count = new int[a];
		
		for (int i: list) {
			count[i-1]=count[i-1]+1;
		}
		
		for (int i: count) {
			System.out.println(i);
		}
		
	}

} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		String cryvgtubhi = s.nextLine();
		
		String[] l = s.nextLine().split(" ");
		int[] list = new int[l.length];
		
		for (int i=0;i<l.length;i++) {
			list[i]=Integer.parseInt(l[i]);
		}
		int[] count = new int[a];
		
		for (int i: list) {
			count[i-1]=count[i-1]+1;
		}
		
		for (int i: count) {
			System.out.println(i);
		}
		
	}

} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		String cryvgtubhi = s.nextLine();
		
		String[] l = s.nextLine().split(" ");
		int[] list = new int[l.length];
		
		for (int i=0;i<l.length;i++) {
			list[i]=Integer.parseInt(l[i]);
		}
		int[] count = new int[a];
		
		for (int i: list) {
			count[i-1]=count[i-1]+1;
		}
		
		for (int i: count) {
			System.out.println(i);
		}
		
	} main {
		// TODO Auto-generated method stub
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		String cryvgtubhi = s.nextLine();
		
		String[] l = s.nextLine().split(" ");
		int[] list = new int[l.length];
		
		for (int i=0;i<l.length;i++) {
			list[i]=Integer.parseInt(l[i]);
		}
		int[] count = new int[a];
		
		for (int i: list) {
			count[i-1]=count[i-1]+1;
		}
		
		for (int i: count) {
			System.out.println(i);
		}
		
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int a = s.nextInt(); a s.nextInt() s.nextInt s String cryvgtubhi = s.nextLine(); cryvgtubhi s.nextLine() s.nextLine s String[] l = s.nextLine().split(" "); l s.nextLine().split(" ") s.nextLine().split s.nextLine() s.nextLine s " " int[] list = new int[l.length]; list new int[l.length] l.length l l.length for (int i=0;i<l.length;i++) {
			list[i]=Integer.parseInt(l[i]);
		} int i=0; int i=0; i 0 i<l.length i l.length l l.length i++ i++ i {
			list[i]=Integer.parseInt(l[i]);
		} {
			list[i]=Integer.parseInt(l[i]);
		} list[i]=Integer.parseInt(l[i]) list[i] list i Integer.parseInt(l[i]) Integer.parseInt Integer l[i] l i int[] count = new int[a]; count new int[a] a for (int i: list) {
			count[i-1]=count[i-1]+1;
		} int i list {
			count[i-1]=count[i-1]+1;
		} {
			count[i-1]=count[i-1]+1;
		} count[i-1]=count[i-1]+1 count[i-1] count i-1 i 1 count[i-1]+1 count[i-1] count i-1 i 1 1 for (int i: count) {
			System.out.println(i);
		} int i count {
			System.out.println(i);
		} {
			System.out.println(i);
		} System.out.println(i) System.out.println System.out System System.out i String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		String cryvgtubhi = s.nextLine();
		
		String[] l = s.nextLine().split(" ");
		int[] list = new int[l.length];
		
		for (int i=0;i<l.length;i++) {
			list[i]=Integer.parseInt(l[i]);
		}
		int[] count = new int[a];
		
		for (int i: list) {
			count[i-1]=count[i-1]+1;
		}
		
		for (int i: count) {
			System.out.println(i);
		}
		
	}

} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		String cryvgtubhi = s.nextLine();
		
		String[] l = s.nextLine().split(" ");
		int[] list = new int[l.length];
		
		for (int i=0;i<l.length;i++) {
			list[i]=Integer.parseInt(l[i]);
		}
		int[] count = new int[a];
		
		for (int i: list) {
			count[i-1]=count[i-1]+1;
		}
		
		for (int i: count) {
			System.out.println(i);
		}
		
	}

} Main
//package beg_163;

import java.util.*;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		String cryvgtubhi = s.nextLine();
		
		String[] l = s.nextLine().split(" ");
		int[] list = new int[l.length];
		
		for (int i=0;i<l.length;i++) {
			list[i]=Integer.parseInt(l[i]);
		}
		int[] count = new int[a];
		
		for (int i: list) {
			count[i-1]=count[i-1]+1;
		}
		
		for (int i: count) {
			System.out.println(i);
		}
		
	}

}
