function main(input) {
  var args = input.split(/\s|\n/);
  var animals = input[0] * 1;
  var turu = 0;
  var kame = animals;
  var footSum = 0;
  var correct = false;
  for (var i = 0;i < animals + 1;i++) {
    footSum = kame * 4 + turu * 2;
    if (footSum == args[1] * 1) {
      correct = true;
    }
    turu++;
    kame--;
  }
  if (correct) {
    console.log('Yes');
  } else {
    console.log('No');
  }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));