"use strict";

const main = arg => {
    const input = arg.trim().split("\n");

    const X = parseInt(input[0].split(" ")[0]);
    const Y = parseInt(input[0].split(" ")[1]);
    // i = tsuru
    for(let i = 0; i<=X; i++){
        for(let j = 0; j<=X; j++){
            if(i+j == X && 2*i + 4*j === Y){
                console.log("Yes")
                return
            } 
        }
    }
    console.log("No")
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));  