"use strict";

function main(arg) {
    const input = arg.split("\n")
    const [X,Y] = input[0].split(" ").map(x=>Number(x))
    //console.log(X)
    //console.log(Y)
    
    let craneNum = 2 * X - Y/2
    let turtleNum = X - craneNum
    //console.log(`craneNum = ${craneNum}`)
    //console.log(`turtleNum = ${turtleNum}`)
    
    if(!Number.isInteger(craneNum) || craneNum < 0 || !Number.isInteger(turtleNum) || turtleNum < 0) {
        console.log("No")
    } else {
        console.log("Yes")
    }
}

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