"use strict";
    
const main = arg => {
    arg = arg.trim().split("\n");
    const animals = parseInt(arg[0].split(" ")[0]);
    const legs = parseInt(arg[0].split(" ")[1]);
    
    for(let i=0; i<animals; i++) {
        const tsuru = i;
        const kame = animals - i;
        
        if((tsuru * 2) + (kame * 4) === legs) {
            console.log("Yes");
            return;
        }
    }
    
    console.log("No");
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));