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();
		boolean a = false;
		for(int i = 0; i <= x; i++) {
			if(2*x+2*i == y) {
				a = true;
			}
		}
		if(a == true) {
			System.out.println("Yes");
		}else {
			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();
		boolean a = false;
		for(int i = 0; i <= x; i++) {
			if(2*x+2*i == y) {
				a = true;
			}
		}
		if(a == true) {
			System.out.println("Yes");
		}else {
			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();
		boolean a = false;
		for(int i = 0; i <= x; i++) {
			if(2*x+2*i == y) {
				a = true;
			}
		}
		if(a == true) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		boolean a = false;
		for(int i = 0; i <= x; i++) {
			if(2*x+2*i == y) {
				a = true;
			}
		}
		if(a == true) {
			System.out.println("Yes");
		}else {
			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 boolean a = false; a false for(int i = 0; i <= x; i++) {
			if(2*x+2*i == y) {
				a = true;
			}
		} int i = 0; int i = 0; i 0 i <= x i x i++ i++ i {
			if(2*x+2*i == y) {
				a = true;
			}
		} {
			if(2*x+2*i == y) {
				a = true;
			}
		} if(2*x+2*i == y) {
				a = true;
			} 2*x+2*i == y 2*x+2*i 2*x 2 x 2*i 2 i y {
				a = true;
			} a = true a true if(a == true) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} a == true a true {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" {
			System.out.println("No");
		} 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();
		boolean a = false;
		for(int i = 0; i <= x; i++) {
			if(2*x+2*i == y) {
				a = true;
			}
		}
		if(a == true) {
			System.out.println("Yes");
		}else {
			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();
		boolean a = false;
		for(int i = 0; i <= x; i++) {
			if(2*x+2*i == y) {
				a = true;
			}
		}
		if(a == true) {
			System.out.println("Yes");
		}else {
			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();
		boolean a = false;
		for(int i = 0; i <= x; i++) {
			if(2*x+2*i == y) {
				a = true;
			}
		}
		if(a == true) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

}