function main(input) {
  // 入力値の分離
  param = input.split(" ");
  const x = parseInt(param[0]);
  const y = parseInt(param[1]);
  var calc = 0;
  var result = '';
  for(var i = 1; i <= x; i++){
    calc = (2 * i) + (4 * (x - i));
    if(parseInt(calc) === parseInt(y) ){
      result = "Yes";
      break;
    }
  }

  if(result != "Yes"){
    result = "No";
  }

  console.log(result);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));parseInt