import java.util.Scanner;

// ABC170-B
public class Main {

	public static void main(String[] args) {

		int tsuruLegs = 2;
		int kameLegs = 4;

		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean bool = false;

		for (int i = 0; i <= x; i++) {
			int legs = i * tsuruLegs + (x - i) * kameLegs;

			if (legs == y) {
				bool = true;
			}
		}

		if (bool) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		int tsuruLegs = 2;
		int kameLegs = 4;

		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean bool = false;

		for (int i = 0; i <= x; i++) {
			int legs = i * tsuruLegs + (x - i) * kameLegs;

			if (legs == y) {
				bool = true;
			}
		}

		if (bool) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}
} Main public static void main(String[] args) {

		int tsuruLegs = 2;
		int kameLegs = 4;

		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean bool = false;

		for (int i = 0; i <= x; i++) {
			int legs = i * tsuruLegs + (x - i) * kameLegs;

			if (legs == y) {
				bool = true;
			}
		}

		if (bool) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	} main {

		int tsuruLegs = 2;
		int kameLegs = 4;

		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean bool = false;

		for (int i = 0; i <= x; i++) {
			int legs = i * tsuruLegs + (x - i) * kameLegs;

			if (legs == y) {
				bool = true;
			}
		}

		if (bool) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	} int tsuruLegs = 2; tsuruLegs 2 int kameLegs = 4; kameLegs 4 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 boolean bool = false; bool false for (int i = 0; i <= x; i++) {
			int legs = i * tsuruLegs + (x - i) * kameLegs;

			if (legs == y) {
				bool = true;
			}
		} int i = 0; int i = 0; i 0 i <= x i x i++ i++ i {
			int legs = i * tsuruLegs + (x - i) * kameLegs;

			if (legs == y) {
				bool = true;
			}
		} {
			int legs = i * tsuruLegs + (x - i) * kameLegs;

			if (legs == y) {
				bool = true;
			}
		} int legs = i * tsuruLegs + (x - i) * kameLegs; legs i * tsuruLegs + (x - i) * kameLegs i * tsuruLegs i tsuruLegs (x - i) * kameLegs (x - i) x i kameLegs if (legs == y) {
				bool = true;
			} legs == y legs y {
				bool = true;
			} bool = true bool true if (bool) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} bool {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {

		int tsuruLegs = 2;
		int kameLegs = 4;

		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean bool = false;

		for (int i = 0; i <= x; i++) {
			int legs = i * tsuruLegs + (x - i) * kameLegs;

			if (legs == y) {
				bool = true;
			}
		}

		if (bool) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}
} public class Main {

	public static void main(String[] args) {

		int tsuruLegs = 2;
		int kameLegs = 4;

		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean bool = false;

		for (int i = 0; i <= x; i++) {
			int legs = i * tsuruLegs + (x - i) * kameLegs;

			if (legs == y) {
				bool = true;
			}
		}

		if (bool) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}
} Main
import java.util.Scanner;

// ABC170-B
public class Main {

	public static void main(String[] args) {

		int tsuruLegs = 2;
		int kameLegs = 4;

		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean bool = false;

		for (int i = 0; i <= x; i++) {
			int legs = i * tsuruLegs + (x - i) * kameLegs;

			if (legs == y) {
				bool = true;
			}
		}

		if (bool) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

		sc.close();
	}
}
