import java.util.Scanner;

public class Main {

	static final int CRANE = 2;
	static final int TURTLE = 4;

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

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

		if (CRANE * x == y || TURTLE * x == y) {
			System.out.println("Yes");
			return;
		}

		int crane_num = 4 * x - y;
		if (crane_num < 0 || crane_num % 2 != 0) {
			System.out.println("No");
			return;
		}
		crane_num /= 2;
		if (x - crane_num < 0) {
			System.out.println("No");
			return;
		}
		System.out.println("Yes");

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

	static final int CRANE = 2;
	static final int TURTLE = 4;

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

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

		if (CRANE * x == y || TURTLE * x == y) {
			System.out.println("Yes");
			return;
		}

		int crane_num = 4 * x - y;
		if (crane_num < 0 || crane_num % 2 != 0) {
			System.out.println("No");
			return;
		}
		crane_num /= 2;
		if (x - crane_num < 0) {
			System.out.println("No");
			return;
		}
		System.out.println("Yes");

	}
} Main static final int CRANE = 2; CRANE 2 static final int TURTLE = 4; TURTLE 4 public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

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

		if (CRANE * x == y || TURTLE * x == y) {
			System.out.println("Yes");
			return;
		}

		int crane_num = 4 * x - y;
		if (crane_num < 0 || crane_num % 2 != 0) {
			System.out.println("No");
			return;
		}
		crane_num /= 2;
		if (x - crane_num < 0) {
			System.out.println("No");
			return;
		}
		System.out.println("Yes");

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

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

		if (CRANE * x == y || TURTLE * x == y) {
			System.out.println("Yes");
			return;
		}

		int crane_num = 4 * x - y;
		if (crane_num < 0 || crane_num % 2 != 0) {
			System.out.println("No");
			return;
		}
		crane_num /= 2;
		if (x - crane_num < 0) {
			System.out.println("No");
			return;
		}
		System.out.println("Yes");

	} 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 if (CRANE * x == y || TURTLE * x == y) {
			System.out.println("Yes");
			return;
		} CRANE * x == y || TURTLE * x == y CRANE * x == y CRANE * x CRANE x y TURTLE * x == y TURTLE * x TURTLE x y {
			System.out.println("Yes");
			return;
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" return; int crane_num = 4 * x - y; crane_num 4 * x - y 4 * x 4 x y if (crane_num < 0 || crane_num % 2 != 0) {
			System.out.println("No");
			return;
		} crane_num < 0 || crane_num % 2 != 0 crane_num < 0 crane_num 0 crane_num % 2 != 0 crane_num % 2 crane_num 2 0 {
			System.out.println("No");
			return;
		} System.out.println("No") System.out.println System.out System System.out "No" return; crane_num /= 2 crane_num 2 if (x - crane_num < 0) {
			System.out.println("No");
			return;
		} x - crane_num < 0 x - crane_num x crane_num 0 {
			System.out.println("No");
			return;
		} System.out.println("No") System.out.println System.out System System.out "No" return; System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args public class Main {

	static final int CRANE = 2;
	static final int TURTLE = 4;

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

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

		if (CRANE * x == y || TURTLE * x == y) {
			System.out.println("Yes");
			return;
		}

		int crane_num = 4 * x - y;
		if (crane_num < 0 || crane_num % 2 != 0) {
			System.out.println("No");
			return;
		}
		crane_num /= 2;
		if (x - crane_num < 0) {
			System.out.println("No");
			return;
		}
		System.out.println("Yes");

	}
} public class Main {

	static final int CRANE = 2;
	static final int TURTLE = 4;

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

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

		if (CRANE * x == y || TURTLE * x == y) {
			System.out.println("Yes");
			return;
		}

		int crane_num = 4 * x - y;
		if (crane_num < 0 || crane_num % 2 != 0) {
			System.out.println("No");
			return;
		}
		crane_num /= 2;
		if (x - crane_num < 0) {
			System.out.println("No");
			return;
		}
		System.out.println("Yes");

	}
} Main
import java.util.Scanner;

public class Main {

	static final int CRANE = 2;
	static final int TURTLE = 4;

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

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

		if (CRANE * x == y || TURTLE * x == y) {
			System.out.println("Yes");
			return;
		}

		int crane_num = 4 * x - y;
		if (crane_num < 0 || crane_num % 2 != 0) {
			System.out.println("No");
			return;
		}
		crane_num /= 2;
		if (x - crane_num < 0) {
			System.out.println("No");
			return;
		}
		System.out.println("Yes");

	}
}
