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