"use strict"
function main(arg) {
    var N = arg.trim().split("\n")[0].split(" ").map(Number)[0]
    var Ai = arg.trim().split("\n")[1].split(" ").map(Number)
    var list = {}
    for (let i = 0; i< Ai.length; i++) {
        // console.log(Ai[i] in list)
        if (!(Ai[i] in list)) {
            list[Ai[i]] = 0
        }
        list[Ai[i]] += 1
    }
    for (var i = 1; i <= N; i++) {
        i = String(i)
        if (!list[i]) {
            console.log(0)
        } else {
            console.log(list[i])
        }
    }
    // console.log(JSON.stringify(list))
}


main(require('fs').readFileSync('/dev/stdin', 'utf8'));