#include<bits/stdc++.h>
using namespace std;
int main(){
	int a[20]={0},x,t,m=0,k;
	for(k=0;k<50;k++){
		cin>>x;
		a[x]++;
	}
	for(t=0;t<20;t++){
		if(a[t]>m){
			m=a[t];
		}
	}
	cout<<m<<" ";
	return 0;
}

/**************************************************************
	Problem: 1180
	User: cyp
	Language: C++
	Result: Accepted
	Time:8 ms
	Memory:2072 kb
****************************************************************/