#include <iostream>
using namespace std;

int judge(int);

int main(void){
  int n,age;

  for(;;){
    int cnt[7]={0};

    cin >> n;
    for( int i = 0 ; i < n ; i++ ){
      cin >> age;
      cnt[judge(age)]++;
    }

    for( int i = 0 ; i < n ; i++ ) cout << cnt[i] << endl;
  }

  return 0;
}

  int judge(int age){
   
    switch(age/10){
    case 0:return 0;
    case 1:return 1;
    case 2:return 2;
    case 3:return 3;
    case 4:return 4;
    case 5:return 5;
    }
    return 6;

}