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

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