import java.util.Arrays; import java.util.Collections; import java.util.Scanner; import java.util.TreeSet; public class Main0264 { public static void main(String[] args) { new Main0264(); } public Main0264() { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int b = sc.nextInt(); int[] x = new int[n]; int[] y = new int[n]; int[] p = new int[n]; for(int i=0;ij;k--){ while(ey set = new TreeSet<>(); for(int v: x) set.add(v); Integer[] ia = new Integer[set.size()]; set.toArray(ia); int[] cx = new int[x.length]; for(int i=0;i