using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; using System.Linq; using System.Text; using System.IO; using System.Reflection; using static System.Math; using System.Numerics; static class Program{ const int mod=(int)1e9+7; static void Main(){ Sc sc=new Sc(); var s=sc.Ia; if(s[0]%s[1]!=0||(s[0]==s[1]&&s[0]!=1)){ Console.WriteLine("No"); return; } var h=new int[s[1]][]; for(int i = 0;i>1)-i+((h[i][1]&1)==0?s[1]:0); } for(int i = 3;i(int n,Func f){var a=new T[n];for(int i=0;i(int n,Func f){var a=new T[n];for(int i=0;i(int n,Func f){var a=new T[n];for(int i=0;i(int n,Func f){var a=new T[n];for(int i=0;i