import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner scn = new Scanner(System.in)) {
			int x = scn.nextInt();
			int y = scn.nextInt();
			boolean isOk = false;
			for(int t=0; t<=x; t++) {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			}
			System.out.println(isOk ? "Yes" : "No");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		try (Scanner scn = new Scanner(System.in)) {
			int x = scn.nextInt();
			int y = scn.nextInt();
			boolean isOk = false;
			for(int t=0; t<=x; t++) {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			}
			System.out.println(isOk ? "Yes" : "No");
		}
	}
} Main public static void main(String[] args) {
		try (Scanner scn = new Scanner(System.in)) {
			int x = scn.nextInt();
			int y = scn.nextInt();
			boolean isOk = false;
			for(int t=0; t<=x; t++) {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			}
			System.out.println(isOk ? "Yes" : "No");
		}
	} main {
		try (Scanner scn = new Scanner(System.in)) {
			int x = scn.nextInt();
			int y = scn.nextInt();
			boolean isOk = false;
			for(int t=0; t<=x; t++) {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			}
			System.out.println(isOk ? "Yes" : "No");
		}
	} try (Scanner scn = new Scanner(System.in)) {
			int x = scn.nextInt();
			int y = scn.nextInt();
			boolean isOk = false;
			for(int t=0; t<=x; t++) {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			}
			System.out.println(isOk ? "Yes" : "No");
		} {
			int x = scn.nextInt();
			int y = scn.nextInt();
			boolean isOk = false;
			for(int t=0; t<=x; t++) {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			}
			System.out.println(isOk ? "Yes" : "No");
		} Scanner scn = new Scanner(System.in) Scanner scn = new Scanner(System.in) new Scanner(System.in) int x = scn.nextInt(); x scn.nextInt() scn.nextInt scn int y = scn.nextInt(); y scn.nextInt() scn.nextInt scn boolean isOk = false; isOk false for(int t=0; t<=x; t++) {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			} int t=0; int t=0; t 0 t<=x t x t++ t++ t {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			} {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			} int k=x-t; k x-t x t if((t*2 + k*4) == y) {
					isOk = true;
					break;
				} (t*2 + k*4) == y (t*2 + k*4) t*2 t 2 k*4 k 4 y {
					isOk = true;
					break;
				} isOk = true isOk true break; System.out.println(isOk ? "Yes" : "No") System.out.println System.out System System.out isOk ? "Yes" : "No" isOk "Yes" "No" String[] args args public class Main {
	public static void main(String[] args) {
		try (Scanner scn = new Scanner(System.in)) {
			int x = scn.nextInt();
			int y = scn.nextInt();
			boolean isOk = false;
			for(int t=0; t<=x; t++) {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			}
			System.out.println(isOk ? "Yes" : "No");
		}
	}
} public class Main {
	public static void main(String[] args) {
		try (Scanner scn = new Scanner(System.in)) {
			int x = scn.nextInt();
			int y = scn.nextInt();
			boolean isOk = false;
			for(int t=0; t<=x; t++) {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			}
			System.out.println(isOk ? "Yes" : "No");
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner scn = new Scanner(System.in)) {
			int x = scn.nextInt();
			int y = scn.nextInt();
			boolean isOk = false;
			for(int t=0; t<=x; t++) {
				int k=x-t;
				if((t*2 + k*4) == y) {
					isOk = true;
					break;
				}
			}
			System.out.println(isOk ? "Yes" : "No");
		}
	}
}
