import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int X = sc.nextInt();
		int Y = sc.nextInt();
		String res = "Yes";

		if(Y%2 != 0) {
			res = "No";
		}

		if(Y < 2*X) {
			res = "No";
		}

		if(Y > 4*X) {
			res = "No";
		}

		System.out.print(res);
	}

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

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int X = sc.nextInt();
		int Y = sc.nextInt();
		String res = "Yes";

		if(Y%2 != 0) {
			res = "No";
		}

		if(Y < 2*X) {
			res = "No";
		}

		if(Y > 4*X) {
			res = "No";
		}

		System.out.print(res);
	}

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

		Scanner sc = new Scanner(System.in);

		int X = sc.nextInt();
		int Y = sc.nextInt();
		String res = "Yes";

		if(Y%2 != 0) {
			res = "No";
		}

		if(Y < 2*X) {
			res = "No";
		}

		if(Y > 4*X) {
			res = "No";
		}

		System.out.print(res);
	} main {

		Scanner sc = new Scanner(System.in);

		int X = sc.nextInt();
		int Y = sc.nextInt();
		String res = "Yes";

		if(Y%2 != 0) {
			res = "No";
		}

		if(Y < 2*X) {
			res = "No";
		}

		if(Y > 4*X) {
			res = "No";
		}

		System.out.print(res);
	} 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 String res = "Yes"; res "Yes" if(Y%2 != 0) {
			res = "No";
		} Y%2 != 0 Y%2 Y 2 0 {
			res = "No";
		} res = "No" res "No" if(Y < 2*X) {
			res = "No";
		} Y < 2*X Y 2*X 2 X {
			res = "No";
		} res = "No" res "No" if(Y > 4*X) {
			res = "No";
		} Y > 4*X Y 4*X 4 X {
			res = "No";
		} res = "No" res "No" System.out.print(res) System.out.print System.out System System.out res String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int X = sc.nextInt();
		int Y = sc.nextInt();
		String res = "Yes";

		if(Y%2 != 0) {
			res = "No";
		}

		if(Y < 2*X) {
			res = "No";
		}

		if(Y > 4*X) {
			res = "No";
		}

		System.out.print(res);
	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int X = sc.nextInt();
		int Y = sc.nextInt();
		String res = "Yes";

		if(Y%2 != 0) {
			res = "No";
		}

		if(Y < 2*X) {
			res = "No";
		}

		if(Y > 4*X) {
			res = "No";
		}

		System.out.print(res);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int X = sc.nextInt();
		int Y = sc.nextInt();
		String res = "Yes";

		if(Y%2 != 0) {
			res = "No";
		}

		if(Y < 2*X) {
			res = "No";
		}

		if(Y > 4*X) {
			res = "No";
		}

		System.out.print(res);
	}

}
