#include #include #include #include int main() { int n; scanf("%d",&n); int h[n]; int hmax = 0; int hmaxcount = 0; for(int i = 0; i hmax) { hmax = h[i]; hmaxcount = 1; } else if(h[i] == hmax) hmaxcount++; } printf("%d", hmaxcount); /* Enter your code here. Read input from STDIN. Print output to STDOUT */ return 0; }