import java.util.*;
public class Main {public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int a[] = new int[sc.nextInt()];
int num = sc.nextInt();
sc.nextLine();
for (int i = 0; i < a.length; i++) {