fun main(args: Array<String>) {
    var tmpLine = readLine()
    var tmps = tmpLine!!.split("\\s+".toRegex())
    var x = tmps[0].toInt() 
    var y = tmps[1].toInt() 

    println(tsurukame(x, y))
}

fun tsurukame(x: Int, y: Int) : String {
    var result = "No"

    for (i in 0..x) {
        var kame = i 
        var tsuru = x - kame

        var legs = tsuru * 2 + kame * 4
        if (legs > y ) return "No"
        if (legs == y) return "Yes"
    }

    return result
}