
function main(input) {
    let [X, Y] = input.trim().split(/[\s\n]/).map(Number)
    const result = 0

    for(let i = 0; i <= X; i++) {
        const j = X - i
        const legs = i * 2 + j * 4
        if(legs === Y) {
            console.log('Yes')
            return
        }
    }

    console.log('No')
}

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