import scala.annotation.tailrec
object Main extends App {

  import scala.io.StdIn._

  val n = readInt()
  val persons = Array.fill(n){0}
  for (i <- readLine.trim.split(' ').map(_.toInt)) {
    persons(i - 1) += 1
  }
  println(
    persons.mkString("\n")
  )
}