object Main extends App {
  val n = io.StdIn.readInt()
  val an = io.StdIn.readLine().split(' ').map(_.toInt)
  val cache = Array.fill(n+1)(0)
  an.foreach(i => cache(i) += 1)
  cache.drop(1).foreach(println(_))
}