

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();
		if (y % 2 != 0) {
			System.out.println("No");
		} else if (4 * x < y || 2 * x > y) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}

} 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();
		if (y % 2 != 0) {
			System.out.println("No");
		} else if (4 * x < y || 2 * x > y) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		if (y % 2 != 0) {
			System.out.println("No");
		} else if (4 * x < y || 2 * x > y) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	} main {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		if (y % 2 != 0) {
			System.out.println("No");
		} else if (4 * x < y || 2 * x > y) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	} 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 if (y % 2 != 0) {
			System.out.println("No");
		} else if (4 * x < y || 2 * x > y) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		} y % 2 != 0 y % 2 y 2 0 {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" if (4 * x < y || 2 * x > y) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		} 4 * x < y || 2 * x > y 4 * x < y 4 * x 4 x y 2 * x > y 2 * x 2 x y {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" 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();
		if (y % 2 != 0) {
			System.out.println("No");
		} else if (4 * x < y || 2 * x > y) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		int y = scan.nextInt();
		if (y % 2 != 0) {
			System.out.println("No");
		} else if (4 * x < y || 2 * x > y) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}

} 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();
		if (y % 2 != 0) {
			System.out.println("No");
		} else if (4 * x < y || 2 * x > y) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}

}
