import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        int X = in.nextInt();   // 庭の動物の総数
        int Y = in.nextInt();   // それらの足の総数
        
        if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){
            System.out.println("No");
        }else{
            System.out.println("Yes");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        int X = in.nextInt();   // 庭の動物の総数
        int Y = in.nextInt();   // それらの足の総数
        
        if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){
            System.out.println("No");
        }else{
            System.out.println("Yes");
        }
    }
} Main public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        int X = in.nextInt();   // 庭の動物の総数
        int Y = in.nextInt();   // それらの足の総数
        
        if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){
            System.out.println("No");
        }else{
            System.out.println("Yes");
        }
    } main {
        Scanner in = new Scanner(System.in);

        int X = in.nextInt();   // 庭の動物の総数
        int Y = in.nextInt();   // それらの足の総数
        
        if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){
            System.out.println("No");
        }else{
            System.out.println("Yes");
        }
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int X = in.nextInt(); X in.nextInt() in.nextInt in int Y = in.nextInt(); Y in.nextInt() in.nextInt in if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){
            System.out.println("No");
        }else{
            System.out.println("Yes");
        } Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X Y%2 == 1 Y%2 Y 2 1 2*X > Y 2*X 2 X Y (Y-(X*2))/2 > X (Y-(X*2))/2 (Y-(X*2)) Y (X*2) X 2 2 X {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args public class Main {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        int X = in.nextInt();   // 庭の動物の総数
        int Y = in.nextInt();   // それらの足の総数
        
        if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){
            System.out.println("No");
        }else{
            System.out.println("Yes");
        }
    }
} public class Main {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        int X = in.nextInt();   // 庭の動物の総数
        int Y = in.nextInt();   // それらの足の総数
        
        if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){
            System.out.println("No");
        }else{
            System.out.println("Yes");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        int X = in.nextInt();   // 庭の動物の総数
        int Y = in.nextInt();   // それらの足の総数
        
        if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){
            System.out.println("No");
        }else{
            System.out.println("Yes");
        }
    }
}