function Main(input) {
  const arr = input.split('\n');
  const n = arr[0];
  const m = arr[1].split(' ').map(x => Number(x));
  const result = Array.from({length: n}, (v, i) => 0);
  m.forEach(x => {
    result[x - 1] += 1;
  });

  console.log(result.join('\n'));

}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));