import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; class HackerRank{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] types = new int[n]; Map hmap = new HashMap(); hmap.put(1,0); hmap.put(2,0); hmap.put(3,0); hmap.put(4,0); hmap.put(5,0); for(int i=0;i entry : hmap.entrySet()){ if(entry.getValue() == maxValueinMap){ System.out.println(entry.getKey()); return; } } } }