object Main extends App {
	val N = scala.io.StdIn.readInt
	val a = scala.io.StdIn.readLine.split(" ").map(_.toInt - 1)
	val ans = new Array[Int](N)

	for(x <- a){
		ans(x) += 1
	}
	ans.foreach(println(_))
}
