import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args)throws IOException { Scanner in = new Scanner(System.in); int n = in.nextInt(); int[] types = new int[n]; for(int types_i=0; types_i < n; types_i++){ types[types_i] = in.nextInt(); } Solution obj=new Solution(); obj.go(types,n); } // your code goes here public void go(int arr[],int n)throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int i,max=0,count=0; int a[]=new int[5]; for(i=0;imax) {max=a[i]; count=i; } } System.out.println(count+1); } }