const input = require("fs").readFileSync("/dev/stdin", "utf8")

;(input => {
    const [X, Y] = input.split(' ').map(n => n - 0)

    if (X * 4 < Y) {
        console.log('No')
    } else if (Y % 2 === 1) {
        console.log('No')
    } else if (X * 2 > Y) {
        console.log('No')
    } else {
        console.log('Yes')
    }

})(input)
