import java.util.ArrayList; import java.util.Scanner; public class YourName { static ArrayList list = new ArrayList<>(); static long K; static int N; public static void main(String[] args) { Scanner s = new Scanner(System.in); N = s.nextInt(); K = s.nextLong(); for(int i = 0;i 0&&K%2 == 0){ K = 0; } if(K == 0) System.out.println("YES"); else System.out.println("NO"); } static void swtch(int i){ if(i+1 != list.get(i)){ int t = list.indexOf(i+1); list.set(t, list.get(i)); list.set(i, i+1); K--; } } }