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 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 int frecuency[]={0,0,0,0,0}; for(int types_i=0; types_i < n; types_i++){ int bird = types[types_i]; switch(bird){ case 1: frecuency[0]=frecuency[0]+1; break; case 2: frecuency[1]=frecuency[1]+1; break; case 3: frecuency[2]=frecuency[2]+1; break; case 4: frecuency[3]=frecuency[3]+1; break; case 5: frecuency[4]=frecuency[4]+1; break; } } int hf = 0; for(int types_i=0; types_i <4 ; types_i++){ if(frecuency[hf]"+frecuency[types_i]); } System.out.println((hf+1)); } }