function main(input){
  const [x, y] = input.split(' ').map(Number);
  if(y < 2*x) {console.log('No'); return;}
  for(let m=0; m<=x; m++){
	const n = x-m;
    if((2*m + 4*n) === y){
      console.log('Yes');
      return;
    }
  }
  
  console.log('No');
}

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