#include<iostream>
using namespace std;

int main(){

int numbers[100] , x ,y;
y = max(numbers[x]);

while ( cin >> x ){
numbers[x - 1]++;
}

while ( y != 1 ){
cout << numbers[x] << endl;
}

return 0;
}