import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();

		int leg = 0;
		String ans = "No";

		for (int t=0; t<X+1; t++) {
			leg = 2*t + 4*(X-t);
			if (leg==Y) {
				ans="Yes";
				break;
			}
		}

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


	}

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

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();

		int leg = 0;
		String ans = "No";

		for (int t=0; t<X+1; t++) {
			leg = 2*t + 4*(X-t);
			if (leg==Y) {
				ans="Yes";
				break;
			}
		}

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


	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();

		int leg = 0;
		String ans = "No";

		for (int t=0; t<X+1; t++) {
			leg = 2*t + 4*(X-t);
			if (leg==Y) {
				ans="Yes";
				break;
			}
		}

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


	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();

		int leg = 0;
		String ans = "No";

		for (int t=0; t<X+1; t++) {
			leg = 2*t + 4*(X-t);
			if (leg==Y) {
				ans="Yes";
				break;
			}
		}

		if (ans=="Yes") {
			System.out.println("Yes");
		} else {
			System.out.println("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 int leg = 0; leg 0 String ans = "No"; ans "No" for (int t=0; t<X+1; t++) {
			leg = 2*t + 4*(X-t);
			if (leg==Y) {
				ans="Yes";
				break;
			}
		} int t=0; int t=0; t 0 t<X+1 t X+1 X 1 t++ t++ t {
			leg = 2*t + 4*(X-t);
			if (leg==Y) {
				ans="Yes";
				break;
			}
		} {
			leg = 2*t + 4*(X-t);
			if (leg==Y) {
				ans="Yes";
				break;
			}
		} leg = 2*t + 4*(X-t) leg 2*t + 4*(X-t) 2*t 2 t 4*(X-t) 4 (X-t) X t if (leg==Y) {
				ans="Yes";
				break;
			} leg==Y leg Y {
				ans="Yes";
				break;
			} ans="Yes" ans "Yes" break; if (ans=="Yes") {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} ans=="Yes" ans "Yes" {
			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" String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();

		int leg = 0;
		String ans = "No";

		for (int t=0; t<X+1; t++) {
			leg = 2*t + 4*(X-t);
			if (leg==Y) {
				ans="Yes";
				break;
			}
		}

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


	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();

		int leg = 0;
		String ans = "No";

		for (int t=0; t<X+1; t++) {
			leg = 2*t + 4*(X-t);
			if (leg==Y) {
				ans="Yes";
				break;
			}
		}

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


	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();

		int leg = 0;
		String ans = "No";

		for (int t=0; t<X+1; t++) {
			leg = 2*t + 4*(X-t);
			if (leg==Y) {
				ans="Yes";
				break;
			}
		}

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


	}

}