#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int nr=0,max=0,nrCandles,height; cin>>nrCandles; for(int i=0;i>height; if(height>max) { max=height; nr = 1; } else if(height == max) { nr++; } } cout<