const main = input => {
    const [X, Y] = input.trim().split(' ').map(x => parseInt(x));
    for (let i = 0; i <= X; i++) {
        for (let j = 0; j <= X - i; j++) {
            if (i * 2 + j * 4 === Y) {
                console.log('Yes')
                return
            }
        }
    }
    console.log('No')
};

// 標準入力
main(require("fs").readFileSync("/dev/stdin", "utf8"));
