import java.util.Scanner

import scala.io.StdIn._

object Main extends App {

  val n = readInt()
  val A = readLine().split(" ").map(_.toInt)

  def solve() = {
    val arr = Array.fill(n)(0)
    A.foreach { i =>
      arr(i-1) += 1
    }
    arr.mkString("\n")
  }


  println(solve())

}

