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());

    }
}

/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz