import Foundation

func readInts() -> [Int]{
    readLine()!.split(separator: " ").map { Int($0)! }
}

func main(){
    let n = Int(readLine()!)!
    let aryA = readInts()
    for i in 1...n {
        print(aryA.filter { $0 == i }.count > 0 ? aryA.filter { $0 == i }.count: 0)
    }
}
main()
