const input = require('fs').readFileSync('/dev/stdin', 'utf8');
const lines = input.split('\n');
const N = +lines[0];
const A = lines[1].split(' ').map(v => +v);

// console.log(N);
// console.log(A);

const m = {};
for (let i = 1; i <= N; i++) {
    m[i] = 0;
}

A.forEach((i) => m[+i]++);

// console.log(`m=`);
// console.log(m);

Object.values(m).forEach((v) => {
    console.log(`${v}`);
});
