#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, i = 1, l, j = 0, s[200000], k = 0;
  cin >> N;
  while (j < N) {
    s[j] = 0;
    j++;
  }
  while (cin >> l) {
    s[l - 1] = s[l - 1] + 1;
  }
  while (k < N) {
    cout << s[k] << endl;
    k++;
  }
}
