function main(input) {
  let args = input.split('\n');
  let a = 0;
  let flag = false;
  let [x, y] = args[a++].split(' ').map((e) => +e);
  for (let i = 0; i <= x; ++i) {
    if (i * 2 + (x - i) * 4 == y) {
      flag = true;
      break;
    }
  }
  console.log(flag ? 'Yes' : 'No');
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));
