#include<iostream>
using namespace std;

int main(void){
   long int n;
   long int one=0,ten=0,twenty=0,thirteen=0,forty=0,fifty=0,sixty=0;
   
   cin >> n;
   for(int i=0;i<n;i++){
      int old;
      cin >> old;
      if(old < 10){
	 one++;
      }
      else if(10<=old and old<20){
	 ten++;
      }
      else if(20<=old and old<30){
	 twenty++;
      }
      else if(30<=old and old<40){
	 thirteen++;
      }
      else if(40<=old and old<50){
	 forty++;
      }
      else if(50<=old and old<60){
	 fifty++;
      }
      else{
	 sixty++;
      }
   }
   

   cout << one << endl;
   cout << ten << endl;
   cout << twenty << endl;
   cout << thirteen << endl;
   cout << forty << endl;
   cout << fifty << endl;
   cout << sixty << endl;
   
   return 0;
}