import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		int count = 0;
		boolean flag = true;
		for(int i = 0; i < x + 1; i++) {
			count = 2 * i + 4 * (x - i);
			if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			}
		}
		
		if(flag) System.out.println("No");
		
		
	}

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

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		int count = 0;
		boolean flag = true;
		for(int i = 0; i < x + 1; i++) {
			count = 2 * i + 4 * (x - i);
			if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			}
		}
		
		if(flag) System.out.println("No");
		
		
	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		int count = 0;
		boolean flag = true;
		for(int i = 0; i < x + 1; i++) {
			count = 2 * i + 4 * (x - i);
			if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			}
		}
		
		if(flag) System.out.println("No");
		
		
	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		int count = 0;
		boolean flag = true;
		for(int i = 0; i < x + 1; i++) {
			count = 2 * i + 4 * (x - i);
			if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			}
		}
		
		if(flag) System.out.println("No");
		
		
	} 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 int count = 0; count 0 boolean flag = true; flag true for(int i = 0; i < x + 1; i++) {
			count = 2 * i + 4 * (x - i);
			if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			}
		} int i = 0; int i = 0; i 0 i < x + 1 i x + 1 x 1 i++ i++ i {
			count = 2 * i + 4 * (x - i);
			if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			}
		} {
			count = 2 * i + 4 * (x - i);
			if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			}
		} count = 2 * i + 4 * (x - i) count 2 * i + 4 * (x - i) 2 * i 2 i 4 * (x - i) 4 (x - i) x i if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			} count == y count y {
				System.out.println("Yes");
				flag = false;
				break;
			} System.out.println("Yes") System.out.println System.out System System.out "Yes" flag = false flag false break; if(flag) System.out.println("No"); flag 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) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		int count = 0;
		boolean flag = true;
		for(int i = 0; i < x + 1; i++) {
			count = 2 * i + 4 * (x - i);
			if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			}
		}
		
		if(flag) System.out.println("No");
		
		
	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		int count = 0;
		boolean flag = true;
		for(int i = 0; i < x + 1; i++) {
			count = 2 * i + 4 * (x - i);
			if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			}
		}
		
		if(flag) System.out.println("No");
		
		
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		int count = 0;
		boolean flag = true;
		for(int i = 0; i < x + 1; i++) {
			count = 2 * i + 4 * (x - i);
			if(count == y) {
				System.out.println("Yes");
				flag = false;
				break;
			}
		}
		
		if(flag) System.out.println("No");
		
		
	}

}
