#include using namespace std; #define dbg(x) { cout<<#x<<" : "< mp; cin>>n; for(i=0;i>val; mp[val]++; } int max=-1; map::iterator it; for(it=mp.begin();it!=mp.end();it++){ if(it->second>max){ max=it->second; val=it->first; } } cout<