import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int sum = 0;

		if ((y % 2) != 0) {
			System.out.println("No");
			System.exit(0);
		} else if ((y == 2 * x) || (y == 4 * x)) {
			System.out.println("Yes");
			System.exit(0);
		} else {
			for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");

		scan.close();

	}

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

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int sum = 0;

		if ((y % 2) != 0) {
			System.out.println("No");
			System.exit(0);
		} else if ((y == 2 * x) || (y == 4 * x)) {
			System.out.println("Yes");
			System.exit(0);
		} else {
			for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");

		scan.close();

	}

} Main public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int sum = 0;

		if ((y % 2) != 0) {
			System.out.println("No");
			System.exit(0);
		} else if ((y == 2 * x) || (y == 4 * x)) {
			System.out.println("Yes");
			System.exit(0);
		} else {
			for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");

		scan.close();

	} main {

		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int sum = 0;

		if ((y % 2) != 0) {
			System.out.println("No");
			System.exit(0);
		} else if ((y == 2 * x) || (y == 4 * x)) {
			System.out.println("Yes");
			System.exit(0);
		} else {
			for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");

		scan.close();

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan int sum = 0; sum 0 if ((y % 2) != 0) {
			System.out.println("No");
			System.exit(0);
		} else if ((y == 2 * x) || (y == 4 * x)) {
			System.out.println("Yes");
			System.exit(0);
		} else {
			for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			}
		} (y % 2) != 0 (y % 2) y 2 0 {
			System.out.println("No");
			System.exit(0);
		} System.out.println("No") System.out.println System.out System System.out "No" System.exit(0) System.exit System 0 if ((y == 2 * x) || (y == 4 * x)) {
			System.out.println("Yes");
			System.exit(0);
		} else {
			for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			}
		} (y == 2 * x) || (y == 4 * x) (y == 2 * x) y 2 * x 2 x (y == 4 * x) y 4 * x 4 x {
			System.out.println("Yes");
			System.exit(0);
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" System.exit(0) System.exit System 0 {
			for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			}
		} for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			} int i = 0; int i = 0; i 0 i < x i x i++ i++ i {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			} {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			} sum = (2 * (x - i)) + (4 * i) sum (2 * (x - i)) + (4 * i) (2 * (x - i)) 2 (x - i) x i (4 * i) 4 i if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				} sum == y sum y {
					System.out.println("Yes");
					System.exit(0);
				} System.out.println("Yes") System.out.println System.out System System.out "Yes" System.exit(0) System.exit System 0 System.out.println("No") System.out.println System.out System System.out "No" scan.close() scan.close scan String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int sum = 0;

		if ((y % 2) != 0) {
			System.out.println("No");
			System.exit(0);
		} else if ((y == 2 * x) || (y == 4 * x)) {
			System.out.println("Yes");
			System.exit(0);
		} else {
			for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");

		scan.close();

	}

} public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int sum = 0;

		if ((y % 2) != 0) {
			System.out.println("No");
			System.exit(0);
		} else if ((y == 2 * x) || (y == 4 * x)) {
			System.out.println("Yes");
			System.exit(0);
		} else {
			for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");

		scan.close();

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		int sum = 0;

		if ((y % 2) != 0) {
			System.out.println("No");
			System.exit(0);
		} else if ((y == 2 * x) || (y == 4 * x)) {
			System.out.println("Yes");
			System.exit(0);
		} else {
			for (int i = 0; i < x; i++) {
				sum = (2 * (x - i)) + (4 * i);
				if (sum == y) {
					System.out.println("Yes");
					System.exit(0);
				}
			}
		}
		System.out.println("No");

		scan.close();

	}

}
