let main = (input) => {
    let args = input.split(/\s+/)
    let animals = parseInt(args[0])
    let legs = parseInt(args[1])
    let crane = (legs - 2 * animals) / 2
    let turtle = (4 * animals - legs) / 2

    if (crane >= 0 && turtle >= 0 && Number.isInteger(crane) && Number.isInteger(turtle)) {
        console.log("Yes")
    } else {
        console.log("No")
    }

}

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