function main(input) {
  const [x, y] = input[0].trim().split(" ").map(i => parseInt(i));
  let ans = false;

  for(let i=0;i<=x;i++){
    if((i*2+(x-i)*4)===y){
      ans = true;
      break;
    }
  }
  console.log(ans?"Yes":"No");
}
main(require('fs').readFileSync('/dev/stdin', 'utf8').trim().split("\n"));