#include <iostream>
using namespace std;

int main() {
    int a[20] = {0},w=0;  


    for (int i = 0; i < 50; i++) {
        cin >> num;
        count[num]++;  
    }

    
    
    for (int i = 0; i < 20; i++) {
        if (a[i] > w) {
            w = a[i];
        }
    }

    cout <<w << endl;
    return 0;
}
/**************************************************************
	Problem: 1180
	User: cyp
	Language: C++
	Result: Compile Error
****************************************************************/