import Foundation 
let num = Int(readLine()!)!
let A = readLine()!.components(separatedBy:" ").map{ Int($0)! }
for i in 1...num{
  var counts = 0
  for s in A{
    if(s == i){
      counts += 1
    }
  }
  print(counts)
}