"use strict";

const main = (arg) => {
  const input = arg.trim().split("\n")[0];
  const X = parseInt(input.split(" ")[0]);
  const Y = parseInt(input.split(" ")[1]);

  const A = 2 * X - Y / 2;
  const B = Y / 2 - X;

  if (
    Number.isInteger(A) && Number.isInteger(B) // 整数判定
    && A >= 0 && B >= 0
  ) {
    console.log("Yes");
  } else {
    console.log("No");
  }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));  
