#include<bits/stdc++.h>
using namespace std;
int main(){
int i,max=0,b[50]={0};
int a[20]={0};
for(i=1;i<=50;i++){
cin>>b[i-1];
a[b[i-1]]++;
}
max=a[0];
for(i=0;i<19;i++)
if(a[i+1]>max) max=a[i+1];
cout<<max;
return 0;
}
/**************************************************************
Problem: 1180
User: wtq001
Language: C++
Result: Accepted
Time:7 ms
Memory:2072 kb
****************************************************************/