const chunks = [];
process.stdin.on("data", (chunk) => {
  chunks.push(chunk);
});
process.stdin.on("end", () => {
  const data = Buffer.concat(chunks).toString("utf8");
  const [X, Y] = data
    .trim()
    .split(" ")
    .map((s) => parseInt(s, 10));
  console.log(solve(X, Y) ? "Yes" : "No");
});

// C: crane
// T: turtle
//
// X = C + T
// Y = 2C + 4T
//
// Y - 2X = 2T >= 0
// 4X - Y = 2C >= 0
// Y >= 2
function solve(X, Y) {
  if (Y < 2) return false;
  if (Y - 2 * X < 0) return false;
  if (4 * X - Y < 0) return false;
  return true;
}
