const Main = input => {
    input = input.trim();
    input = input.split(" ").map(value => parseInt(value, 10));

    const x = input[0];
    const y = input[1];

    const a = (4 * x - y) / 2;
    const b = (y - 2 * x) / 2;

    if(a >= 0 && b >= 0) {
        console.log("Yes");
    } else {
        console.log("No");
    }
}
 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));