import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int animal = sc.nextInt();
		int legs = sc.nextInt();
		boolean flag = true;
		if (legs > animal * 4) {
			System.out.println("No");
			return;
		} else if (legs % 2 > 0) {
			System.out.println("No");
			return;
		} else {

			for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			}
			if(flag == false) {
				System.out.println("No");
			}
		}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int animal = sc.nextInt();
		int legs = sc.nextInt();
		boolean flag = true;
		if (legs > animal * 4) {
			System.out.println("No");
			return;
		} else if (legs % 2 > 0) {
			System.out.println("No");
			return;
		} else {

			for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			}
			if(flag == false) {
				System.out.println("No");
			}
		}

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int animal = sc.nextInt();
		int legs = sc.nextInt();
		boolean flag = true;
		if (legs > animal * 4) {
			System.out.println("No");
			return;
		} else if (legs % 2 > 0) {
			System.out.println("No");
			return;
		} else {

			for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			}
			if(flag == false) {
				System.out.println("No");
			}
		}

	} main {
		Scanner sc = new Scanner(System.in);
		int animal = sc.nextInt();
		int legs = sc.nextInt();
		boolean flag = true;
		if (legs > animal * 4) {
			System.out.println("No");
			return;
		} else if (legs % 2 > 0) {
			System.out.println("No");
			return;
		} else {

			for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			}
			if(flag == false) {
				System.out.println("No");
			}
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int animal = sc.nextInt(); animal sc.nextInt() sc.nextInt sc int legs = sc.nextInt(); legs sc.nextInt() sc.nextInt sc boolean flag = true; flag true if (legs > animal * 4) {
			System.out.println("No");
			return;
		} else if (legs % 2 > 0) {
			System.out.println("No");
			return;
		} else {

			for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			}
			if(flag == false) {
				System.out.println("No");
			}
		} legs > animal * 4 legs animal * 4 animal 4 {
			System.out.println("No");
			return;
		} System.out.println("No") System.out.println System.out System System.out "No" return; if (legs % 2 > 0) {
			System.out.println("No");
			return;
		} else {

			for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			}
			if(flag == false) {
				System.out.println("No");
			}
		} legs % 2 > 0 legs % 2 legs 2 0 {
			System.out.println("No");
			return;
		} System.out.println("No") System.out.println System.out System System.out "No" return; {

			for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			}
			if(flag == false) {
				System.out.println("No");
			}
		} for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			} int i = 0; int i = 0; i 0 i <= animal i animal i++ i++ i {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			} {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			} if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				} i*4 + (animal - i) * 2 == legs i*4 + (animal - i) * 2 i*4 i 4 (animal - i) * 2 (animal - i) animal i 2 legs {
					System.out.println("Yes");
					return;

				} System.out.println("Yes") System.out.println System.out System System.out "Yes" return; {
					flag = false;
				} flag = false flag false if(flag == false) {
				System.out.println("No");
			} flag == false flag false {
				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) {
		Scanner sc = new Scanner(System.in);
		int animal = sc.nextInt();
		int legs = sc.nextInt();
		boolean flag = true;
		if (legs > animal * 4) {
			System.out.println("No");
			return;
		} else if (legs % 2 > 0) {
			System.out.println("No");
			return;
		} else {

			for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			}
			if(flag == false) {
				System.out.println("No");
			}
		}

	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int animal = sc.nextInt();
		int legs = sc.nextInt();
		boolean flag = true;
		if (legs > animal * 4) {
			System.out.println("No");
			return;
		} else if (legs % 2 > 0) {
			System.out.println("No");
			return;
		} else {

			for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			}
			if(flag == false) {
				System.out.println("No");
			}
		}

	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int animal = sc.nextInt();
		int legs = sc.nextInt();
		boolean flag = true;
		if (legs > animal * 4) {
			System.out.println("No");
			return;
		} else if (legs % 2 > 0) {
			System.out.println("No");
			return;
		} else {

			for (int i = 0; i <= animal; i++) {
				if (i*4 + (animal - i) * 2 == legs ) {
					System.out.println("Yes");
					return;

				}else {
					flag = false;
				}
			}
			if(flag == false) {
				System.out.println("No");
			}
		}

	}
}
