function Main(arg) {
    var arg = arg.trim().split(' ');
    let x = Number(arg[0]);
    let y = Number(arg[1]);
    
    if(y%2 != 0){
      console.log("No");
    } else if (x > y){
      console.log("No");
    } else if (x*2 <= y && x*4 > y){
      console.log("Yes");
    } else {
      console.log("No");
    }
    return;
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));