function main(input) {
  let args = input.split('\n');
  let a = 0;
  let [x, y] = args[a++].split(' ').map((e) => +e);
  let mx = x * 4;
  let my = x * 2;
  if (mx == y || my == y) {
    console.log('Yes');
  } else {
    let xx = x;
    while (mx >= y) {
      mx -= 4;
      xx--;
    }
    console.log(mx + (x - xx) * 2 == y ? 'Yes' : 'No');
  }
}
 
main(require('fs').readFileSync('/dev/stdin', 'utf8'));