function main(lines) {
  const [X, Y] = splitN(lines[0]);
  
  let res = 'No';
  for (let a = 0, b = X; a <= X; a++, b--) {
    if (2*a + 4*b == Y) {
      res = 'Yes';
      break;
    }
  }
  
  console.log(res);
}


main( require("fs").readFileSync("/dev/stdin", "utf8").trim().split("\n") );



function splitN(s) {
  return s.split(' ').map(Number);
}