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) { Scanner in = new Scanner(System.in); int a=0; int b=0; int c=0; int d=0; int e=0; int max; int n = in.nextInt(); int[] types = new int[n]; for(int types_i=0; types_i < n; types_i++){ types[types_i] = in.nextInt(); } // your code goes here for(int k =0;kmax){max=b; value=2;} if(c>max){max=c;value=3;} if(d>max){max=d;value=4;} if(e>max){max=e;value=5;} switch(value){ case 1: System.out.println(1);break; case 2: System.out.println(2);break; case 3: System.out.println(3);break; case 4: System.out.println(4);break; case 5: System.out.println(5);break; } } }