import java.util.Scanner;
//import java.util.Arrays;
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";
		if(y % 2 == 0){
			y /= 2;
			for(int i=0; i<=x; i++){
				if(2 * i + (x - i) == y){
					s = "Yes";
					break;
				}
			}
		}
		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";
		if(y % 2 == 0){
			y /= 2;
			for(int i=0; i<=x; i++){
				if(2 * i + (x - i) == y){
					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";
		if(y % 2 == 0){
			y /= 2;
			for(int i=0; i<=x; i++){
				if(2 * i + (x - i) == y){
					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";
		if(y % 2 == 0){
			y /= 2;
			for(int i=0; i<=x; i++){
				if(2 * i + (x - i) == y){
					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" if(y % 2 == 0){
			y /= 2;
			for(int i=0; i<=x; i++){
				if(2 * i + (x - i) == y){
					s = "Yes";
					break;
				}
			}
		} y % 2 == 0 y % 2 y 2 0 {
			y /= 2;
			for(int i=0; i<=x; i++){
				if(2 * i + (x - i) == y){
					s = "Yes";
					break;
				}
			}
		} y /= 2 y 2 for(int i=0; i<=x; i++){
				if(2 * i + (x - i) == y){
					s = "Yes";
					break;
				}
			} int i=0; int i=0; i 0 i<=x i x i++ i++ i {
				if(2 * i + (x - i) == y){
					s = "Yes";
					break;
				}
			} {
				if(2 * i + (x - i) == y){
					s = "Yes";
					break;
				}
			} if(2 * i + (x - i) == y){
					s = "Yes";
					break;
				} 2 * i + (x - i) == y 2 * i + (x - i) 2 * i 2 i (x - i) x i y {
					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";
		if(y % 2 == 0){
			y /= 2;
			for(int i=0; i<=x; i++){
				if(2 * i + (x - i) == y){
					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";
		if(y % 2 == 0){
			y /= 2;
			for(int i=0; i<=x; i++){
				if(2 * i + (x - i) == y){
					s = "Yes";
					break;
				}
			}
		}
		System.out.println(s);
	}
} Main
import java.util.Scanner;
//import java.util.Arrays;
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";
		if(y % 2 == 0){
			y /= 2;
			for(int i=0; i<=x; i++){
				if(2 * i + (x - i) == y){
					s = "Yes";
					break;
				}
			}
		}
		System.out.println(s);
	}
}
