#include <iostream>
#include <cstring>
using namespace std;
int main()
{
	int n, a, i;
	while (cin >> n && n)
	{
		int r[7] = {0};
		for (i = 0; i < n; i++)
		{
			cin >> a;
			if (a < 10)		r[0]++;
			else if (a < 20)r[1]++;
			else if (a < 30)r[2]++;
			else if (a < 40)r[3]++;
			else if (a < 50)r[4]++;
			else if (a < 60)r[5]++;
			else			r[6]++;
		}
		for (i = 0; i < 7; i++)
			cout << r[i] << endl;
	}
}