#include #include #include #include #include #include #include int main(){ int n; scanf("%d",&n); int *types = malloc(sizeof(int) * n); for(int types_i = 0; types_i < n; types_i++){ scanf("%d",&types[types_i]); } // your code goes here int max,c[5]={0},type; for(int i=0;imax){ max=c[1]; type=2; } if(c[2]>max){ max=c[2]; type=3; } if(c[3]>max){ max=c[3]; type=4; } if(c[4]>max){ max=c[4]; type=5; } printf("%d", type); return 0; }