import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc =new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		
		int kame=b/2-a;
		int turu=-b/2+2*a;

		if(!(b%2==0)) {
			System.out.println("No");
		}
		else if(turu<0||kame<0) {
			System.out.println("No");
		}
		else if((kame+turu)==a) {
			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 a = sc.nextInt();
		int b = sc.nextInt();
		
		int kame=b/2-a;
		int turu=-b/2+2*a;

		if(!(b%2==0)) {
			System.out.println("No");
		}
		else if(turu<0||kame<0) {
			System.out.println("No");
		}
		else if((kame+turu)==a) {
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
		
		
	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc =new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		
		int kame=b/2-a;
		int turu=-b/2+2*a;

		if(!(b%2==0)) {
			System.out.println("No");
		}
		else if(turu<0||kame<0) {
			System.out.println("No");
		}
		else if((kame+turu)==a) {
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
		
		
	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc =new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		
		int kame=b/2-a;
		int turu=-b/2+2*a;

		if(!(b%2==0)) {
			System.out.println("No");
		}
		else if(turu<0||kame<0) {
			System.out.println("No");
		}
		else if((kame+turu)==a) {
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
		
		
	} Scanner sc =new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int kame=b/2-a; kame b/2-a b/2 b 2 a int turu=-b/2+2*a; turu -b/2+2*a -b/2 -b b 2 2*a 2 a if(!(b%2==0)) {
			System.out.println("No");
		}
		else if(turu<0||kame<0) {
			System.out.println("No");
		}
		else if((kame+turu)==a) {
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		} !(b%2==0) (b%2==0) b%2 b 2 0 {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" if(turu<0||kame<0) {
			System.out.println("No");
		}
		else if((kame+turu)==a) {
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		} turu<0||kame<0 turu<0 turu 0 kame<0 kame 0 {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" if((kame+turu)==a) {
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		} (kame+turu)==a (kame+turu) kame turu a {
			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 a = sc.nextInt();
		int b = sc.nextInt();
		
		int kame=b/2-a;
		int turu=-b/2+2*a;

		if(!(b%2==0)) {
			System.out.println("No");
		}
		else if(turu<0||kame<0) {
			System.out.println("No");
		}
		else if((kame+turu)==a) {
			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 a = sc.nextInt();
		int b = sc.nextInt();
		
		int kame=b/2-a;
		int turu=-b/2+2*a;

		if(!(b%2==0)) {
			System.out.println("No");
		}
		else if(turu<0||kame<0) {
			System.out.println("No");
		}
		else if((kame+turu)==a) {
			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 a = sc.nextInt();
		int b = sc.nextInt();
		
		int kame=b/2-a;
		int turu=-b/2+2*a;

		if(!(b%2==0)) {
			System.out.println("No");
		}
		else if(turu<0||kame<0) {
			System.out.println("No");
		}
		else if((kame+turu)==a) {
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
		
		
	}

}
