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");
});

// Y min = X * 2
// Y max = X * 4
function solve(X, Y) {
  if (Y % 2 !== 0) return false;
  if (Y < 2 * X) return false;
  if (Y > 4 * X) return false;
  return true;
}
