import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();

		sc.close();

		boolean check = false;

		if (y % 2 != 0) {
			//false

		} else if (4 * x < y) {
			//false

		} else if (2 * x > y) {
			//false

		} else if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		}

		System.out.println(check ? "Yes" : "No");

	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();

		sc.close();

		boolean check = false;

		if (y % 2 != 0) {
			//false

		} else if (4 * x < y) {
			//false

		} else if (2 * x > y) {
			//false

		} else if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		}

		System.out.println(check ? "Yes" : "No");

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();

		sc.close();

		boolean check = false;

		if (y % 2 != 0) {
			//false

		} else if (4 * x < y) {
			//false

		} else if (2 * x > y) {
			//false

		} else if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		}

		System.out.println(check ? "Yes" : "No");

	} main {
		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();

		sc.close();

		boolean check = false;

		if (y % 2 != 0) {
			//false

		} else if (4 * x < y) {
			//false

		} else if (2 * x > y) {
			//false

		} else if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		}

		System.out.println(check ? "Yes" : "No");

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc sc.close() sc.close sc boolean check = false; check false if (y % 2 != 0) {
			//false

		} else if (4 * x < y) {
			//false

		} else if (2 * x > y) {
			//false

		} else if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		} y % 2 != 0 y % 2 y 2 0 {
			//false

		} if (4 * x < y) {
			//false

		} else if (2 * x > y) {
			//false

		} else if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		} 4 * x < y 4 * x 4 x y {
			//false

		} if (2 * x > y) {
			//false

		} else if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		} 2 * x > y 2 * x 2 x y {
			//false

		} if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		} 4 * x == y 4 * x 4 x y {
			check = true;

		} check = true check true if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		} 2 * x == y 2 * x 2 x y {
			check = true;

		} check = true check true {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		} int yy = y; yy y for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			} int i = 1; int i = 1; i 1 i <= x && yy - 4 >= 2 i <= x i x yy - 4 >= 2 yy - 4 yy 4 2 i++ i++ i {
				yy -= 4;
			} {
				yy -= 4;
			} yy -= 4 yy 4 if (yy == 2 || yy == 4) {
				check = true;

			} yy == 2 || yy == 4 yy == 2 yy 2 yy == 4 yy 4 {
				check = true;

			} check = true check true System.out.println(check ? "Yes" : "No") System.out.println System.out System System.out check ? "Yes" : "No" check "Yes" "No" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();

		sc.close();

		boolean check = false;

		if (y % 2 != 0) {
			//false

		} else if (4 * x < y) {
			//false

		} else if (2 * x > y) {
			//false

		} else if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		}

		System.out.println(check ? "Yes" : "No");

	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();

		sc.close();

		boolean check = false;

		if (y % 2 != 0) {
			//false

		} else if (4 * x < y) {
			//false

		} else if (2 * x > y) {
			//false

		} else if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		}

		System.out.println(check ? "Yes" : "No");

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int x = sc.nextInt();
		int y = sc.nextInt();

		sc.close();

		boolean check = false;

		if (y % 2 != 0) {
			//false

		} else if (4 * x < y) {
			//false

		} else if (2 * x > y) {
			//false

		} else if (4 * x == y) {
			check = true;

		} else if (2 * x == y) {
			check = true;

		} else {

			int yy = y;
			for (int i = 1; i <= x && yy - 4 >= 2; i++) {
				yy -= 4;
			}
			if (yy == 2 || yy == 4) {
				check = true;

			}
		}

		System.out.println(check ? "Yes" : "No");

	}

}