#include <iostream>
#include <vector> 


using namespace std;

#define loop(i,a,b) for(int i = a; i<b; i++)
int main ()
{
	ios::sync_with_stdio(0);
	cin.tie(0);
	
	int n;
	cin >> n;
	
	vector<int> arr(n);
	loop(i, 0 , n-1 )
	{
		cin >> arr[i];
	}
	
	loop(i, 1 , n+1 )
	{
		cout << count(arr.begin(), arr.end(), i) << "\n";
	}
return 0;
}
