function Main(input) {

    input = input.split("\n");
    const numArray = input[0].split(" ");

    const sum = Number(numArray[0]);
    const legSum = Number(numArray[1]);

    const min = sum * 2;
    const max = sum * 4;


    if (legSum >= min && legSum <= max && legSum % 2 === 0) {
        console.log('Yes');
    } else {
        console.log('No');
    }
}

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