import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		int x = kb.nextInt();
		int y = kb.nextInt();
		boolean e = false;
		int a = x * 2 - 2;
		for (int i = 0; i < x+1; i++) {
			a += 2;
			if (a == y) {
				e = true;
				break;
			}
		}
		if (e == false)
			System.out.println("No");
		else
			System.out.println("Yes");
		kb.close();
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		int x = kb.nextInt();
		int y = kb.nextInt();
		boolean e = false;
		int a = x * 2 - 2;
		for (int i = 0; i < x+1; i++) {
			a += 2;
			if (a == y) {
				e = true;
				break;
			}
		}
		if (e == false)
			System.out.println("No");
		else
			System.out.println("Yes");
		kb.close();
	}

} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		int x = kb.nextInt();
		int y = kb.nextInt();
		boolean e = false;
		int a = x * 2 - 2;
		for (int i = 0; i < x+1; i++) {
			a += 2;
			if (a == y) {
				e = true;
				break;
			}
		}
		if (e == false)
			System.out.println("No");
		else
			System.out.println("Yes");
		kb.close();
	} main {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		int x = kb.nextInt();
		int y = kb.nextInt();
		boolean e = false;
		int a = x * 2 - 2;
		for (int i = 0; i < x+1; i++) {
			a += 2;
			if (a == y) {
				e = true;
				break;
			}
		}
		if (e == false)
			System.out.println("No");
		else
			System.out.println("Yes");
		kb.close();
	} Scanner kb = new Scanner(System.in); kb new Scanner(System.in) int x = kb.nextInt(); x kb.nextInt() kb.nextInt kb int y = kb.nextInt(); y kb.nextInt() kb.nextInt kb boolean e = false; e false int a = x * 2 - 2; a x * 2 - 2 x * 2 x 2 2 for (int i = 0; i < x+1; i++) {
			a += 2;
			if (a == y) {
				e = true;
				break;
			}
		} int i = 0; int i = 0; i 0 i < x+1 i x+1 x 1 i++ i++ i {
			a += 2;
			if (a == y) {
				e = true;
				break;
			}
		} {
			a += 2;
			if (a == y) {
				e = true;
				break;
			}
		} a += 2 a 2 if (a == y) {
				e = true;
				break;
			} a == y a y {
				e = true;
				break;
			} e = true e true break; if (e == false)
			System.out.println("No");
		else
			System.out.println("Yes"); e == false e false System.out.println("No") System.out.println System.out System System.out "No" System.out.println("Yes") System.out.println System.out System System.out "Yes" kb.close() kb.close kb String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		int x = kb.nextInt();
		int y = kb.nextInt();
		boolean e = false;
		int a = x * 2 - 2;
		for (int i = 0; i < x+1; i++) {
			a += 2;
			if (a == y) {
				e = true;
				break;
			}
		}
		if (e == false)
			System.out.println("No");
		else
			System.out.println("Yes");
		kb.close();
	}

} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		int x = kb.nextInt();
		int y = kb.nextInt();
		boolean e = false;
		int a = x * 2 - 2;
		for (int i = 0; i < x+1; i++) {
			a += 2;
			if (a == y) {
				e = true;
				break;
			}
		}
		if (e == false)
			System.out.println("No");
		else
			System.out.println("Yes");
		kb.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner kb = new Scanner(System.in);
		int x = kb.nextInt();
		int y = kb.nextInt();
		boolean e = false;
		int a = x * 2 - 2;
		for (int i = 0; i < x+1; i++) {
			a += 2;
			if (a == y) {
				e = true;
				break;
			}
		}
		if (e == false)
			System.out.println("No");
		else
			System.out.println("Yes");
		kb.close();
	}

}
