
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 result = "No";
		for(int i = 0; i <= x; i++) {
			for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			}
		}
		System.out.println(result);
	}

} 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 result = "No";
		for(int i = 0; i <= x; i++) {
			for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			}
		}
		System.out.println(result);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		String result = "No";
		for(int i = 0; i <= x; i++) {
			for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			}
		}
		System.out.println(result);
	} main {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		String result = "No";
		for(int i = 0; i <= x; i++) {
			for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			}
		}
		System.out.println(result);
	} 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 result = "No"; result "No" for(int i = 0; i <= x; i++) {
			for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			}
		} int i = 0; int i = 0; i 0 i <= x i x i++ i++ i {
			for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			}
		} {
			for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			}
		} for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			} int j = 0; int j = 0; j 0 j <= x - i j x - i x i j++ j++ j {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			} {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			} if(i + j == x && i * 4 + j * 2 == y) result = "Yes"; i + j == x && i * 4 + j * 2 == y i + j == x i + j i j x i * 4 + j * 2 == y i * 4 + j * 2 i * 4 i 4 j * 2 j 2 y result = "Yes" result "Yes" System.out.println(result) System.out.println System.out System System.out result 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 result = "No";
		for(int i = 0; i <= x; i++) {
			for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			}
		}
		System.out.println(result);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		String result = "No";
		for(int i = 0; i <= x; i++) {
			for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			}
		}
		System.out.println(result);
	}

} 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 result = "No";
		for(int i = 0; i <= x; i++) {
			for(int j = 0; j <= x - i; j++) {
				if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
			}
		}
		System.out.println(result);
	}

}
