const main = (input) => {
  const args = input.trim().split(" ");
  const x = parseInt(args[0], 10);
  const y = parseInt(args[1], 10);

  if (y % 2 !== 0 || y / 2 - x < 0 || 2 * x - y / 2 < 0) {
    console.log("No");
  } else {
    console.log("Yes");
  }
};

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