fun main(args: Array<String>) = abc163c()

fun abc163c() {
    val n = readLine()!!.toInt()
    val aList = readLine()!!.split(' ').map { it.toInt() }

    val count = IntArray(n)
    aList.forEach { count[it - 1]++ }

    val answer = count.joinToString(System.lineSeparator())

    println(answer)
}
