Imports System.Collections
Imports System.Collections.Generic
Imports System.Linq
Imports System.xml
Imports System.xml.Linq

Module Module1
	public sub main()

		dim N as integer = convert.toint32(Console.ReadLine())
		dim A as string() = Console.ReadLine().split(" ")
		dim joshi as integer()
    redim joshi (N)
		for i as integer = 0 to A.count - 1
    dim index as integer = A(i)
    joshi(index) = joshi(index) + 1
		next
		
		for each output as integer in joshi
  console.writeLine(output.tostring)
		next
		
	  
	end sub 
End Module