'use strict';

const inputs = require('fs').readFileSync('/dev/stdin', 'utf8').split('\n');
const foo = (str) => str.split(' ').map(v => parseInt(v, 10));

const numbers = foo(inputs[0]);

const animals = numbers[0];
const legs = numbers[1];

if (animals * 2 === legs) {
  console.log('Yes');
  return;
}

if (animals * 4 === legs) {
  console.log('Yes');
  return;
}

if (animals * 2 < legs && animals * 4 < legs) {
  console.log('No');
  return;
}

let count1 = 0;
let count2 = animals;
while (count2 > 0) {
  ++count1;
  --count2;

  if (count1 * 2 + count2 * 4 === legs) {
    console.log('Yes');
    return;
  }
}

console.log('No');