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