import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;

public class Main {
	public static void main (String[] args) throws IOException{
	    InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
	    BufferedReader in = new BufferedReader(reader);
		String[] str = in.readLine().split(" ");
		int X = Integer.parseInt(str[0]);
		int Y = Integer.parseInt(str[1]);
		if((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {
			System.out.println("Yes");
		}else
			System.out.println("No");
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.nio.charset.StandardCharsets; StandardCharsets java.nio.charset public class Main {
	public static void main (String[] args) throws IOException{
	    InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
	    BufferedReader in = new BufferedReader(reader);
		String[] str = in.readLine().split(" ");
		int X = Integer.parseInt(str[0]);
		int Y = Integer.parseInt(str[1]);
		if((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {
			System.out.println("Yes");
		}else
			System.out.println("No");
	}
} Main public static void main (String[] args) throws IOException{
	    InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
	    BufferedReader in = new BufferedReader(reader);
		String[] str = in.readLine().split(" ");
		int X = Integer.parseInt(str[0]);
		int Y = Integer.parseInt(str[1]);
		if((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {
			System.out.println("Yes");
		}else
			System.out.println("No");
	} main {
	    InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
	    BufferedReader in = new BufferedReader(reader);
		String[] str = in.readLine().split(" ");
		int X = Integer.parseInt(str[0]);
		int Y = Integer.parseInt(str[1]);
		if((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {
			System.out.println("Yes");
		}else
			System.out.println("No");
	} InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8); reader new InputStreamReader(System.in, StandardCharsets.UTF_8) BufferedReader in = new BufferedReader(reader); in new BufferedReader(reader) String[] str = in.readLine().split(" "); str in.readLine().split(" ") in.readLine().split in.readLine() in.readLine in " " int X = Integer.parseInt(str[0]); X Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int Y = Integer.parseInt(str[1]); Y Integer.parseInt(str[1]) Integer.parseInt Integer str[1] str 1 if((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {
			System.out.println("Yes");
		}else
			System.out.println("No"); (Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0 (Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0 (Y-2*X)%2 == 0 (Y-2*X)%2 (Y-2*X) Y 2*X 2 X 2 0 (Y-2*X)/2 >= 0 (Y-2*X)/2 (Y-2*X) Y 2*X 2 X 2 0 X-((Y-2*X)/2) >= 0 X-((Y-2*X)/2) X ((Y-2*X)/2) (Y-2*X) Y 2*X 2 X 2 0 {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" 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) throws IOException{
	    InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
	    BufferedReader in = new BufferedReader(reader);
		String[] str = in.readLine().split(" ");
		int X = Integer.parseInt(str[0]);
		int Y = Integer.parseInt(str[1]);
		if((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {
			System.out.println("Yes");
		}else
			System.out.println("No");
	}
} public class Main {
	public static void main (String[] args) throws IOException{
	    InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
	    BufferedReader in = new BufferedReader(reader);
		String[] str = in.readLine().split(" ");
		int X = Integer.parseInt(str[0]);
		int Y = Integer.parseInt(str[1]);
		if((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {
			System.out.println("Yes");
		}else
			System.out.println("No");
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;

public class Main {
	public static void main (String[] args) throws IOException{
	    InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
	    BufferedReader in = new BufferedReader(reader);
		String[] str = in.readLine().split(" ");
		int X = Integer.parseInt(str[0]);
		int Y = Integer.parseInt(str[1]);
		if((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {
			System.out.println("Yes");
		}else
			System.out.println("No");
	}
}