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 string() = Console.ReadLine()
		dim A as string() = Console.ReadLine().split(" ")
    dim shainNum as integer = convert.toint32(N)
		dim joushiList as new list(of string)
		
		for each strA as string in A
			joushiList.Add(strA)
		next
		
		for i as integer = 1 to shainNum
			
		  dim count as integer = joushiList.count(function(x) x = i.tostring)
    console.whiteline(count.tostring)
		next
	  
	end sub 
End Module