#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int count = 0; int total = 0; int biggest = 0; cin >> count; int array[count]; for(int i = 0; i < count; i++) { cin >> array[i]; } for(int i = 0; i < count; i++) { if(array[i] > biggest) biggest = array[i]; } for(int i = 0; i < count; i ++) { if(biggest == array[i]) total++; } cout << total; }