'use strict'

const main = (arg) => {
    const nums = arg.split(" ");
    const X = nums[0];
    const Y = nums[1];

    var isYes = true;
    for(var i = 0 ; i <= X ; i++){
        if(i*2 + (X-i)*4 == Y){
            console.log('Yes');
            isYes = false;
            break;
        }
    }
    if(isYes) console.log('No');
}

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