const main = (input) => {
	const args = input.trim().split(" ");
	const x = args[0];
	const y = args[1];

 const z = y % 2;
 if(z !== 0){
	 console.log('No');
	 return;
 }

	const a = (2 * x) - (y / 2);
	const b = (-1 * x) + (y / 2);
	if(a < 0 || b < 0){
		console.log('No');
		return;
	}
	console.log('Yes');
}

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