import java.util.*; public class MigratoryBirds { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int max=1; int[] types = new int[n]; Integer []count={0,0,0,0,0,0}; for(int types_i=0; types_i < n; types_i++){ types[types_i] = in.nextInt(); count[types[types_i]]++; } for(int counter=1;countercount[max]) { max=counter; } } System.out.print(max); } }