import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.NoSuchElementException; public class Main implements Runnable{ public static void main(String[] args) { new Thread(null,new Main(), "" ,Runtime.getRuntime().maxMemory()).start(); } public void run() { FastScanner sc=new FastScanner(); int N=sc.nextInt();//3<=N<=1e5 int M=sc.nextInt();//2<=M<=1e5 //N-1<=M<=m(N-m) int m=1; while(N>m&&M>m*(N-m))++m; if(N==m||N-1>M) { System.out.println("NO"); return; } ArrayList[] g=new ArrayList[N]; for(int i=0;i(); for(int i=m;i Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }