#include using namespace std; int findMax(int a, int b, int c, int d, int e) { int max = 0, retMax = 0; if (a > max) { max = a; retMax = 1; } if (b > max) { max = b; retMax = 2; } if (c > max) { //cout << "hjhjhg" << endl; max = c; retMax = 3; } if (d > max) { max = d; retMax = 4; } if (e > max) { max = e; retMax = 5; } return retMax; } int main(){ int n, i; int occ1 = 0, occ2 = 0, occ3 = 0, occ4 = 0, occ5 = 0; cin >> n; vector types(n); for(int types_i = 0; types_i < n; types_i++){ cin >> types[types_i]; } // your code goes here for(i=0;i