function Main (input) {
  let x = input.split(" ")[0], y = input.split(" ")[1];
  
  let bool = false;
  for (let crane = 0; crane <= x; crane++) {
    if (crane * 2 + (x - crane) * 4 == y) {
      bool = true;
      console.log("Yes");
      break;
    }
  }
  
  if (!bool) console.log("No");
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
