import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		int x = scanner.nextInt();
		int y = scanner.nextInt();
		int flag = 0;
		
		while (x >= 0 && y >= 0) {
			if (y / 4 == x && y % 4 == 0) {
				flag = 1;
				break;
			}
			x = x - 1;
			y = y - 2;
		}
		
		if (flag == 1) {
			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) {
		Scanner scanner = new Scanner(System.in);
		
		int x = scanner.nextInt();
		int y = scanner.nextInt();
		int flag = 0;
		
		while (x >= 0 && y >= 0) {
			if (y / 4 == x && y % 4 == 0) {
				flag = 1;
				break;
			}
			x = x - 1;
			y = y - 2;
		}
		
		if (flag == 1) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}

} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		int x = scanner.nextInt();
		int y = scanner.nextInt();
		int flag = 0;
		
		while (x >= 0 && y >= 0) {
			if (y / 4 == x && y % 4 == 0) {
				flag = 1;
				break;
			}
			x = x - 1;
			y = y - 2;
		}
		
		if (flag == 1) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	} main {
		Scanner scanner = new Scanner(System.in);
		
		int x = scanner.nextInt();
		int y = scanner.nextInt();
		int flag = 0;
		
		while (x >= 0 && y >= 0) {
			if (y / 4 == x && y % 4 == 0) {
				flag = 1;
				break;
			}
			x = x - 1;
			y = y - 2;
		}
		
		if (flag == 1) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int y = scanner.nextInt(); y scanner.nextInt() scanner.nextInt scanner int flag = 0; flag 0 while (x >= 0 && y >= 0) {
			if (y / 4 == x && y % 4 == 0) {
				flag = 1;
				break;
			}
			x = x - 1;
			y = y - 2;
		} x >= 0 && y >= 0 x >= 0 x 0 y >= 0 y 0 {
			if (y / 4 == x && y % 4 == 0) {
				flag = 1;
				break;
			}
			x = x - 1;
			y = y - 2;
		} if (y / 4 == x && y % 4 == 0) {
				flag = 1;
				break;
			} y / 4 == x && y % 4 == 0 y / 4 == x y / 4 y 4 x y % 4 == 0 y % 4 y 4 0 {
				flag = 1;
				break;
			} flag = 1 flag 1 break; x = x - 1 x x - 1 x 1 y = y - 2 y y - 2 y 2 if (flag == 1) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} flag == 1 flag 1 {
			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) {
		Scanner scanner = new Scanner(System.in);
		
		int x = scanner.nextInt();
		int y = scanner.nextInt();
		int flag = 0;
		
		while (x >= 0 && y >= 0) {
			if (y / 4 == x && y % 4 == 0) {
				flag = 1;
				break;
			}
			x = x - 1;
			y = y - 2;
		}
		
		if (flag == 1) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}

} public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		int x = scanner.nextInt();
		int y = scanner.nextInt();
		int flag = 0;
		
		while (x >= 0 && y >= 0) {
			if (y / 4 == x && y % 4 == 0) {
				flag = 1;
				break;
			}
			x = x - 1;
			y = y - 2;
		}
		
		if (flag == 1) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		int x = scanner.nextInt();
		int y = scanner.nextInt();
		int flag = 0;
		
		while (x >= 0 && y >= 0) {
			if (y / 4 == x && y % 4 == 0) {
				flag = 1;
				break;
			}
			x = x - 1;
			y = y - 2;
		}
		
		if (flag == 1) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}

	}

}
