import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

public class Main {
	public static void main(String[] args) {
		// code to read values
		// code to call required method
		// code to display the result
		// System.out.println(Math.ceil(2.5));
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int legs = sc.nextInt();
		int turtles = (legs/2) - n;
		int cranes = Math.abs(n-turtles);
		if(turtles>=0 && cranes >=0 && turtles+cranes==n && ((2*cranes)+(4*turtles)) == legs ){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
} import java.io.*; io.* java import java.util.*; util.* java import java.text.*; text.* java import java.math.*; math.* java import java.util.regex.*; regex.* java.util public class Main {
	public static void main(String[] args) {
		// code to read values
		// code to call required method
		// code to display the result
		// System.out.println(Math.ceil(2.5));
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int legs = sc.nextInt();
		int turtles = (legs/2) - n;
		int cranes = Math.abs(n-turtles);
		if(turtles>=0 && cranes >=0 && turtles+cranes==n && ((2*cranes)+(4*turtles)) == legs ){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
} Main public static void main(String[] args) {
		// code to read values
		// code to call required method
		// code to display the result
		// System.out.println(Math.ceil(2.5));
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int legs = sc.nextInt();
		int turtles = (legs/2) - n;
		int cranes = Math.abs(n-turtles);
		if(turtles>=0 && cranes >=0 && turtles+cranes==n && ((2*cranes)+(4*turtles)) == legs ){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	} main {
		// code to read values
		// code to call required method
		// code to display the result
		// System.out.println(Math.ceil(2.5));
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int legs = sc.nextInt();
		int turtles = (legs/2) - n;
		int cranes = Math.abs(n-turtles);
		if(turtles>=0 && cranes >=0 && turtles+cranes==n && ((2*cranes)+(4*turtles)) == legs ){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int legs = sc.nextInt(); legs sc.nextInt() sc.nextInt sc int turtles = (legs/2) - n; turtles (legs/2) - n (legs/2) legs 2 n int cranes = Math.abs(n-turtles); cranes Math.abs(n-turtles) Math.abs Math n-turtles n turtles if(turtles>=0 && cranes >=0 && turtles+cranes==n && ((2*cranes)+(4*turtles)) == legs ){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		} turtles>=0 && cranes >=0 && turtles+cranes==n && ((2*cranes)+(4*turtles)) == legs turtles+cranes==n turtles>=0 && cranes >=0 && turtles+cranes==n && ((2*cranes)+(4*turtles)) == legs turtles>=0 turtles 0 cranes >=0 cranes 0 turtles+cranes==n turtles+cranes turtles cranes n ((2*cranes)+(4*turtles)) == legs ((2*cranes)+(4*turtles)) (2*cranes) 2 cranes (4*turtles) 4 turtles legs {
			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) {
		// code to read values
		// code to call required method
		// code to display the result
		// System.out.println(Math.ceil(2.5));
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int legs = sc.nextInt();
		int turtles = (legs/2) - n;
		int cranes = Math.abs(n-turtles);
		if(turtles>=0 && cranes >=0 && turtles+cranes==n && ((2*cranes)+(4*turtles)) == legs ){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
} public class Main {
	public static void main(String[] args) {
		// code to read values
		// code to call required method
		// code to display the result
		// System.out.println(Math.ceil(2.5));
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int legs = sc.nextInt();
		int turtles = (legs/2) - n;
		int cranes = Math.abs(n-turtles);
		if(turtles>=0 && cranes >=0 && turtles+cranes==n && ((2*cranes)+(4*turtles)) == legs ){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
} Main
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

public class Main {
	public static void main(String[] args) {
		// code to read values
		// code to call required method
		// code to display the result
		// System.out.println(Math.ceil(2.5));
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int legs = sc.nextInt();
		int turtles = (legs/2) - n;
		int cranes = Math.abs(n-turtles);
		if(turtles>=0 && cranes >=0 && turtles+cranes==n && ((2*cranes)+(4*turtles)) == legs ){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
}