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