// 2022 IUSB Programming Competition // Round 1 Problem 4 // Vote Count // Solution by Liguo Yu import java.util.Scanner; public class round1_p4 { public static void main(String[] args) { Scanner input = new Scanner(System.in); int n = input.nextInt(); int v = input.nextInt(); int[] votes = new int[n]; for(int i=0; i temp) temp = votes[i]; } for(int i=0; i