"use strict";

const main = (arg) => {
  const array = arg.trim().split(" ");
  const X = parseInt(array[0], 10);
  const Y = parseInt(array[1], 10);
  if (X * 4 < Y) {
    console.log("No");
    return;
  }
  for (let i = 0; i < X; i++) {
    let kameLegs = i * 2;
    let toriLegs = (X - i) * 4;
    let tolalLrgs = kameLegs + toriLegs;
    if (tolalLrgs == Y) {
      console.log("Yes");
      return;
    }
    if (X == 1) {
      kameLegs = (X - i) * 2;
      toriLegs = i * 4;
      tolalLrgs = kameLegs + toriLegs;
      if (tolalLrgs == Y) {
        console.log("Yes");
        return;
      }
    }
  }
  console.log("No");
};
main(require("fs").readFileSync("/dev/stdin", "utf8"));
