import 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 ++){
			if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			}
		}
		System.out.println(s);
	}
} import java.util.*; util.* java 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 ++){
			if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			}
		}
		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 ++){
			if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			}
		}
		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 ++){
			if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			}
		}
		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 ++){
			if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			}
		} int i = 0; int i = 0; i 0 i <= X i X i ++ i ++ i {
			if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			}
		} {
			if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			}
		} if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			} Y == (2 * i + 4 * (X - i)) Y (2 * i + 4 * (X - i)) 2 * i 2 i 4 * (X - i) 4 (X - i) X i {
				s = "Yes";
				break;
			} s = "Yes" s "Yes" break; 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 ++){
			if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			}
		}
		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 ++){
			if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			}
		}
		System.out.println(s);
	}
} Main
import 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 ++){
			if(Y == (2 * i + 4 * (X - i))){
				s = "Yes";
				break;
			}
		}
		System.out.println(s);
	}
}