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 s = "No";
		for(int i=0; i<=X; i++) {
			int j = X-i;
			if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			}

		}
		sc.close();
		System.out.println(s);
	}

} 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 s = "No";
		for(int i=0; i<=X; i++) {
			int j = X-i;
			if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			}

		}
		sc.close();
		System.out.println(s);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
		String s = "No";
		for(int i=0; i<=X; i++) {
			int j = X-i;
			if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			}

		}
		sc.close();
		System.out.println(s);
	} main {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
		String s = "No";
		for(int i=0; i<=X; i++) {
			int j = X-i;
			if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			}

		}
		sc.close();
		System.out.println(s);
	} 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 s = "No"; s "No" for(int i=0; i<=X; i++) {
			int j = X-i;
			if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			}

		} int i=0; int i=0; i 0 i<=X i X i++ i++ i {
			int j = X-i;
			if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			}

		} {
			int j = X-i;
			if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			}

		} int j = X-i; j X-i X i if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			} i*2 + j*4 == Y i*2 + j*4 i*2 i 2 j*4 j 4 Y {
				s = "Yes";
				break;
			} s = "Yes" s "Yes" break; sc.close() sc.close sc System.out.println(s) System.out.println System.out System System.out s 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 s = "No";
		for(int i=0; i<=X; i++) {
			int j = X-i;
			if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			}

		}
		sc.close();
		System.out.println(s);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
		String s = "No";
		for(int i=0; i<=X; i++) {
			int j = X-i;
			if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			}

		}
		sc.close();
		System.out.println(s);
	}

} 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 s = "No";
		for(int i=0; i<=X; i++) {
			int j = X-i;
			if(i*2 + j*4 == Y) {
				s = "Yes";
				break;
			}

		}
		sc.close();
		System.out.println(s);
	}

}