import java.util.*;

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

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        
        int X = sc.nextInt();
        int Y = sc.nextInt();
        
        String a = null;
        
        if(Y%2 != 0){
            a = "No";
        } else if(X*2 <= Y && Y <= X*4){
            a = "Yes";
        } else {
            a = "No";
        }
        System.out.println(a);
    }
}
