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 count1 = 0, count2 = 0, count3 = 0, count4 = 0, count5 = 0 ; for(int types_i=0; types_i < n; types_i++) { if(types[types_i] == 1) { count1++; } else if(types[types_i] == 2) { count2++; } else if(types[types_i] == 3) { count3++; } else if(types[types_i] == 4) { count4++; } else if(types[types_i] == 5) { count5++; } } int max = count1 ; int maxprint = 1 ; if(max