// ABC170 - B
function main(input) {
  var inputs = input.trim().split('\n');
  var X = inputs[0].split(' ')[0] - 0;
  var Y = inputs[0].split(' ')[1] - 0;

  for (var cr = 0; cr < X; cr++) {
    for (var tu = X - cr; tu >= 0; tu--) {
      if (cr * 2 + tu * 4 === Y) {
        console.log('Yes');
        return;
      }
    }
  }

  console.log('No');
}

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