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