import java.util.ArrayList; import java.util.Scanner; public class No476 { public static void main(String[] args) { Scanner s = new Scanner(System.in); int N = s.nextInt(); int A = s.nextInt(); ArrayList list = new ArrayList<>(); for(int i=0;i