#include <iostream>

using namespace std;

int main(int argc, char const* argv[])
{
	int n;
	int data[7];

	while( cin >> n && n != 0 ){
		for( int i = 0;i < 7;i++ ) data[i] = 0;
		for( int i = 0;i < n;i++ ){
			int target;
			cin >> target;

			if( target >= 0 && target < 10 ) data[0]++;
			else if( target >= 10 && target < 20 ) data[1]++;
			else if( target >= 20 && target < 30 ) data[2]++;
			else if( target >= 30 && target < 40 ) data[3]++;
			else if( target >= 40 && target < 50 ) data[4]++;
			else if( target >= 50 && target < 60 ) data[5]++;
			else if( target >= 60 ) data[6]++;
		}
		for( int i = 0;i < 7;i++ ){
			cout << data[i] << endl;
		}
	}
	return 0;
}