process.stdin.resume();
process.stdin.setEncoding('utf8');

var lines = []
var reader = require('readline').createInterface({
  input: process.stdin,
  output: process.stdout
});

reader.on('line', (line) => {
  lines.push(line);
});

reader.on('close', () => {
 var a = Number(lines[0].split(' ')[0]);
 var b = Number(lines[0].split(' ')[1]);
 var x, y;
 var ans = '';
 // x = x - 2;
 // y = y - 6;

 if(b % 2 !== 0){
   ans = 'No';
 }else{
		x = (4 * a - b) / 2;
		y = (- 2 * a + b) / 2;
		if(x < 0 || y < 0){
			ans = 'No';
		}
		else{
			// outputobj.innerHTML = "鶴は " + x + " 羽、";
			// outputobj.innerHTML += "亀は " + y + " 匹です。";
			ans = 'Yes';
		}
	}

  console.log(ans);
});