#include #include using namespace std; int main(){ int n, temp, max=0, maxind; cin >> n; vector types(n); map num; for(int types_i = 0; types_i < n; types_i++){ cin >> types[types_i]; } for(int i=1; i<6; i++){ num.insert(pair(i,0)); } for(int i=0; i max){ max = num[i]; maxind = i; } } cout << maxind << endl; // your code goes here return 0; }