import java.util.Arrays; import java.util.Scanner; public class Answer { public static void main(String str[]) { Scanner sc = new Scanner(System.in); int width = Integer.valueOf(sc.nextLine()); int blockNum = Integer.valueOf(sc.nextLine()); int blocks[] = new int[blockNum]; for(int i=0; i