import 'dart:io';

main(List<String> args) {
  int N = int.parse(stdin.readLineSync());
  List<int> A =
      stdin.readLineSync().split(" ").map((x) => int.parse(x)).toList();

  var ans = new List.filled(N, 0);
  for (var x in A) {
    ans[x - 1] += 1;
  }
  for (var x in ans) {
    print(x);
  }
}
