import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int X = sc.nextInt();
		final int Y = sc.nextInt();
		sc.close();
		if (Y % 2 == 1) {
			System.out.println("No");
			return;
		}
		int a = Y/2 - X;
		int b = 2*X - Y/2;
		if(a>=0 && b>=0){
			System.out.println("Yes");
		}else if(a < 0 || b < 0){
			System.out.println("No");
		}
	}
} import java.util.*; util.* java class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int X = sc.nextInt();
		final int Y = sc.nextInt();
		sc.close();
		if (Y % 2 == 1) {
			System.out.println("No");
			return;
		}
		int a = Y/2 - X;
		int b = 2*X - Y/2;
		if(a>=0 && b>=0){
			System.out.println("Yes");
		}else if(a < 0 || b < 0){
			System.out.println("No");
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int X = sc.nextInt();
		final int Y = sc.nextInt();
		sc.close();
		if (Y % 2 == 1) {
			System.out.println("No");
			return;
		}
		int a = Y/2 - X;
		int b = 2*X - Y/2;
		if(a>=0 && b>=0){
			System.out.println("Yes");
		}else if(a < 0 || b < 0){
			System.out.println("No");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		final int X = sc.nextInt();
		final int Y = sc.nextInt();
		sc.close();
		if (Y % 2 == 1) {
			System.out.println("No");
			return;
		}
		int a = Y/2 - X;
		int b = 2*X - Y/2;
		if(a>=0 && b>=0){
			System.out.println("Yes");
		}else if(a < 0 || b < 0){
			System.out.println("No");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc final int Y = sc.nextInt(); Y sc.nextInt() sc.nextInt sc sc.close() sc.close sc if (Y % 2 == 1) {
			System.out.println("No");
			return;
		} Y % 2 == 1 Y % 2 Y 2 1 {
			System.out.println("No");
			return;
		} System.out.println("No") System.out.println System.out System System.out "No" return; int a = Y/2 - X; a Y/2 - X Y/2 Y 2 X int b = 2*X - Y/2; b 2*X - Y/2 2*X 2 X Y/2 Y 2 if(a>=0 && b>=0){
			System.out.println("Yes");
		}else if(a < 0 || b < 0){
			System.out.println("No");
		} a>=0 && b>=0 a>=0 a 0 b>=0 b 0 {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" if(a < 0 || b < 0){
			System.out.println("No");
		} a < 0 || b < 0 a < 0 a 0 b < 0 b 0 {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		final int X = sc.nextInt();
		final int Y = sc.nextInt();
		sc.close();
		if (Y % 2 == 1) {
			System.out.println("No");
			return;
		}
		int a = Y/2 - X;
		int b = 2*X - Y/2;
		if(a>=0 && b>=0){
			System.out.println("Yes");
		}else if(a < 0 || b < 0){
			System.out.println("No");
		}
	}
}
