inp = require('fs').readFileSync('/dev/stdin', 'utf8').trim().split('\n')
N = inp.shift() * 1
l = inp.shift().split(" ")
a = new Array(N)
for (i=0; i<N; i++) {
    a[i] = 0
    a[l[i] - 1] = a[l[i] - 1] + 1
}
console.log(a.join("\n"))