import java.util.*;
public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}
 
 
	public void run() {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
        
        int F=0;
        int T=0;
        
        F=X*4;
        T=X*2;
        
        if(T<=Y && F>=Y){
            if(Y%2==0){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
		
		
		
	}
		
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}
 
 
	public void run() {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
        
        int F=0;
        int T=0;
        
        F=X*4;
        T=X*2;
        
        if(T<=Y && F>=Y){
            if(Y%2==0){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
		
		
		
	}
		
} Main public static void main(String[] args) {
		Main main = new Main();
		main.run();
	} main {
		Main main = new Main();
		main.run();
	} Main main = new Main(); main new Main() main.run() main.run main String[] args args public void run() {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
        
        int F=0;
        int T=0;
        
        F=X*4;
        T=X*2;
        
        if(T<=Y && F>=Y){
            if(Y%2==0){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
		
		
		
	} run {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
        
        int F=0;
        int T=0;
        
        F=X*4;
        T=X*2;
        
        if(T<=Y && F>=Y){
            if(Y%2==0){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
		
		
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int X = sc.nextInt(); X sc.nextInt() sc.nextInt sc int Y = sc.nextInt(); Y sc.nextInt() sc.nextInt sc int F=0; F 0 int T=0; T 0 F=X*4 F X*4 X 4 T=X*2 T X*2 X 2 if(T<=Y && F>=Y){
            if(Y%2==0){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        } T<=Y && F>=Y T<=Y T Y F>=Y F Y {
            if(Y%2==0){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        } if(Y%2==0){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            } Y%2==0 Y%2 Y 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("No") System.out.println System.out System System.out "No" {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}
 
 
	public void run() {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
        
        int F=0;
        int T=0;
        
        F=X*4;
        T=X*2;
        
        if(T<=Y && F>=Y){
            if(Y%2==0){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
		
		
		
	}
		
} public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}
 
 
	public void run() {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
        
        int F=0;
        int T=0;
        
        F=X*4;
        T=X*2;
        
        if(T<=Y && F>=Y){
            if(Y%2==0){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
		
		
		
	}
		
} Main
import java.util.*;
public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}
 
 
	public void run() {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int Y = sc.nextInt();
        
        int F=0;
        int T=0;
        
        F=X*4;
        T=X*2;
        
        if(T<=Y && F>=Y){
            if(Y%2==0){
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }else{
            System.out.println("No");
        }
		
		
		
	}
		
}
