"use strict"
function main(arg) {
    let [X,Y] = arg.trim().split("\n")[0].split(" ").map(Number)
    for (let i = 0; i <= X; i++) {
        let a = i * 2 + (X-i) * 4
        if (a === Y) {
            console.log('Yes')
            return
        }
    }
    console.log('No')
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));