import java.util.Scanner;

public class Main {
    static final String YES = "Yes";
    static final String NO = "No";
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int X = scan.nextInt();
        int Y = scan.nextInt();

        scan.close();

        if (Y%2 != 0){
            System.out.println(NO);
            return;
        }

        int crane = 2*X - Y/2;
        int turtle = (Y-2*X)/2;

        if (crane < 0 ){
            System.out.println(NO);
            return;
        }

        if( turtle < 0){
            System.out.println(NO);
            return;
        }

        System.out.println(YES);
        
    }
} import java.util.Scanner; Scanner java.util public class Main {
    static final String YES = "Yes";
    static final String NO = "No";
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int X = scan.nextInt();
        int Y = scan.nextInt();

        scan.close();

        if (Y%2 != 0){
            System.out.println(NO);
            return;
        }

        int crane = 2*X - Y/2;
        int turtle = (Y-2*X)/2;

        if (crane < 0 ){
            System.out.println(NO);
            return;
        }

        if( turtle < 0){
            System.out.println(NO);
            return;
        }

        System.out.println(YES);
        
    }
} Main static final String YES = "Yes"; YES "Yes" static final String NO = "No"; NO "No" public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int X = scan.nextInt();
        int Y = scan.nextInt();

        scan.close();

        if (Y%2 != 0){
            System.out.println(NO);
            return;
        }

        int crane = 2*X - Y/2;
        int turtle = (Y-2*X)/2;

        if (crane < 0 ){
            System.out.println(NO);
            return;
        }

        if( turtle < 0){
            System.out.println(NO);
            return;
        }

        System.out.println(YES);
        
    } main {
        Scanner scan = new Scanner(System.in);

        int X = scan.nextInt();
        int Y = scan.nextInt();

        scan.close();

        if (Y%2 != 0){
            System.out.println(NO);
            return;
        }

        int crane = 2*X - Y/2;
        int turtle = (Y-2*X)/2;

        if (crane < 0 ){
            System.out.println(NO);
            return;
        }

        if( turtle < 0){
            System.out.println(NO);
            return;
        }

        System.out.println(YES);
        
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int X = scan.nextInt(); X scan.nextInt() scan.nextInt scan int Y = scan.nextInt(); Y scan.nextInt() scan.nextInt scan scan.close() scan.close scan if (Y%2 != 0){
            System.out.println(NO);
            return;
        } Y%2 != 0 Y%2 Y 2 0 {
            System.out.println(NO);
            return;
        } System.out.println(NO) System.out.println System.out System System.out NO return; int crane = 2*X - Y/2; crane 2*X - Y/2 2*X 2 X Y/2 Y 2 int turtle = (Y-2*X)/2; turtle (Y-2*X)/2 (Y-2*X) Y 2*X 2 X 2 if (crane < 0 ){
            System.out.println(NO);
            return;
        } crane < 0 crane 0 {
            System.out.println(NO);
            return;
        } System.out.println(NO) System.out.println System.out System System.out NO return; if( turtle < 0){
            System.out.println(NO);
            return;
        } turtle < 0 turtle 0 {
            System.out.println(NO);
            return;
        } System.out.println(NO) System.out.println System.out System System.out NO return; System.out.println(YES) System.out.println System.out System System.out YES String[] args args public class Main {
    static final String YES = "Yes";
    static final String NO = "No";
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int X = scan.nextInt();
        int Y = scan.nextInt();

        scan.close();

        if (Y%2 != 0){
            System.out.println(NO);
            return;
        }

        int crane = 2*X - Y/2;
        int turtle = (Y-2*X)/2;

        if (crane < 0 ){
            System.out.println(NO);
            return;
        }

        if( turtle < 0){
            System.out.println(NO);
            return;
        }

        System.out.println(YES);
        
    }
} public class Main {
    static final String YES = "Yes";
    static final String NO = "No";
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int X = scan.nextInt();
        int Y = scan.nextInt();

        scan.close();

        if (Y%2 != 0){
            System.out.println(NO);
            return;
        }

        int crane = 2*X - Y/2;
        int turtle = (Y-2*X)/2;

        if (crane < 0 ){
            System.out.println(NO);
            return;
        }

        if( turtle < 0){
            System.out.println(NO);
            return;
        }

        System.out.println(YES);
        
    }
} Main
import java.util.Scanner;

public class Main {
    static final String YES = "Yes";
    static final String NO = "No";
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        int X = scan.nextInt();
        int Y = scan.nextInt();

        scan.close();

        if (Y%2 != 0){
            System.out.println(NO);
            return;
        }

        int crane = 2*X - Y/2;
        int turtle = (Y-2*X)/2;

        if (crane < 0 ){
            System.out.println(NO);
            return;
        }

        if( turtle < 0){
            System.out.println(NO);
            return;
        }

        System.out.println(YES);
        
    }
}
