"use strict";

const main = (input) => {
    const spi = input.split('\n');
    const [x, y] = spi[0].split(' ').map(e => parseInt(e));

    for (let i = 0; i < x + 1; i++) {
        const turu = i * 2;
        const kame = (x - i) * 4;

        if (turu + kame === y) {
            console.log("Yes");
            return;
        }
    }

    console.log("No");
};

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