import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); int n = koko.nextInt(); int len = koko.nextInt(); int[] x = new int[n+1]; int[] wid = new int[n+1]; int[] tim = new int[n+1]; int[] ti = new int[n+1]; int time=0; x[0]=0; wid[0]=0; for(int i=1; i