package yukicoder; import java.util.Scanner; public class N561 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int D=sc.nextInt(); int[] T=new int[N]; int[] K=new int[N]; int buf=0; for(int i=0;i=b)?a:b; } }