fs = require('fs');
input = fs.readFileSync('/dev/stdin', 'utf8');
tmp = input.split(' ');
X = parseInt(tmp[0],10);
Y = parseInt(tmp[1],10);
for(i=0; i<=X; i++) {
  if(i*4 + (X-i)*2 == Y) { console.log('Yes'); return; }
  if(i*4 + (X-i)*2 == Y) { console.log('Yes'); return; }
}
console.log('No');