#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x, a[200001] = {0};
  std::cin >> n;
  for (int i = 0; i < n; i++) {
    std::cin >> x;
    a[x] += 1;
  }
  for (int i = 1; i <= n; i++) {
    cout << a[i] << endl;
  }
}
