"use strict";

const main = arg => {
    const inputList = arg.trim().split("\n");
    // 回答を記述
    const X = parseInt(inputList[0].split(" ")[0]);
    const Y = parseInt(inputList[0].split(" ")[1]);

    const TURTLE = 4;
    const CRANE = 2;

    let isTrue = false;

    for (let i = 0; i <= X; i++) {
        const sum = (TURTLE * i) + (CRANE * (X - i));
        if (sum == Y) {
            isTrue = true;
            break;
        }
    }

    if (isTrue) {
        console.log("Yes");
    } else {
        console.log("No");
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));