#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 a=0,b=0,c=0,d=0,e=0,j,max; for(j=0;j=b) && (a>=c) && (a>=d)&& (a>=e)) max=1; else if((b>=a) && (b>=c) && (b>=d)&& (b>=e)) max=2; else if((c>=b) && (c>=a) && (c>=d)&& (c>=e)) max=3; else if((d>=b) && (d>=c) && (d>=a)&&(d>=e)) max=4; else max=5; printf("%d",max); return 0; }