import java.util.*;

// 問題
// https://atcoder.jp/contests/abc143/tasks/abc143_b

class Animals {

    // 個体数
    public static int num;
    // 足の数
    public static int leg_num;

    static String isOK(){
        if ( leg_num >= 2 * num & leg_num <= 4 * num &
                leg_num % 2 == 0){ return "Yes";}
        return "No";
    }

}

public class Main {
    public static void main(String... args){

        // 入力の受け取り
        Scanner scanner = new Scanner(System.in);

        Animals.num = scanner.nextInt();
        Animals.leg_num = scanner.nextInt();


        System.out.println(Animals.isOK());

    }
} import java.util.*; util.* java class Animals {

    // 個体数
    public static int num;
    // 足の数
    public static int leg_num;

    static String isOK(){
        if ( leg_num >= 2 * num & leg_num <= 4 * num &
                leg_num % 2 == 0){ return "Yes";}
        return "No";
    }

} Animals // 個体数
    public static int num; num // 足の数
    public static int leg_num; leg_num static String isOK(){
        if ( leg_num >= 2 * num & leg_num <= 4 * num &
                leg_num % 2 == 0){ return "Yes";}
        return "No";
    } isOK {
        if ( leg_num >= 2 * num & leg_num <= 4 * num &
                leg_num % 2 == 0){ return "Yes";}
        return "No";
    } if ( leg_num >= 2 * num & leg_num <= 4 * num &
                leg_num % 2 == 0){ return "Yes";} leg_num >= 2 * num & leg_num <= 4 * num &
                leg_num % 2 == 0 leg_num >= 2 * num & leg_num <= 4 * num &
                leg_num % 2 == 0 leg_num >= 2 * num leg_num 2 * num 2 num leg_num <= 4 * num leg_num 4 * num 4 num leg_num % 2 == 0 leg_num % 2 leg_num 2 0 { return "Yes";} return "Yes"; "Yes" return "No"; "No" public class Main {
    public static void main(String... args){

        // 入力の受け取り
        Scanner scanner = new Scanner(System.in);

        Animals.num = scanner.nextInt();
        Animals.leg_num = scanner.nextInt();


        System.out.println(Animals.isOK());

    }
} Main public static void main(String... args){

        // 入力の受け取り
        Scanner scanner = new Scanner(System.in);

        Animals.num = scanner.nextInt();
        Animals.leg_num = scanner.nextInt();


        System.out.println(Animals.isOK());

    } main {

        // 入力の受け取り
        Scanner scanner = new Scanner(System.in);

        Animals.num = scanner.nextInt();
        Animals.leg_num = scanner.nextInt();


        System.out.println(Animals.isOK());

    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) Animals.num = scanner.nextInt() Animals.num Animals Animals.num scanner.nextInt() scanner.nextInt scanner Animals.leg_num = scanner.nextInt() Animals.leg_num Animals Animals.leg_num scanner.nextInt() scanner.nextInt scanner System.out.println(Animals.isOK()) System.out.println System.out System System.out Animals.isOK() Animals.isOK Animals String... args args public class Main {
    public static void main(String... args){

        // 入力の受け取り
        Scanner scanner = new Scanner(System.in);

        Animals.num = scanner.nextInt();
        Animals.leg_num = scanner.nextInt();


        System.out.println(Animals.isOK());

    }
} public class Main {
    public static void main(String... args){

        // 入力の受け取り
        Scanner scanner = new Scanner(System.in);

        Animals.num = scanner.nextInt();
        Animals.leg_num = scanner.nextInt();


        System.out.println(Animals.isOK());

    }
} Main
import java.util.*;

// 問題
// https://atcoder.jp/contests/abc143/tasks/abc143_b

class Animals {

    // 個体数
    public static int num;
    // 足の数
    public static int leg_num;

    static String isOK(){
        if ( leg_num >= 2 * num & leg_num <= 4 * num &
                leg_num % 2 == 0){ return "Yes";}
        return "No";
    }

}

public class Main {
    public static void main(String... args){

        // 入力の受け取り
        Scanner scanner = new Scanner(System.in);

        Animals.num = scanner.nextInt();
        Animals.leg_num = scanner.nextInt();


        System.out.println(Animals.isOK());

    }
}
