fun main() {
    val inLine = readLine()!!.split(" ").map(String::toInt)

    val x = inLine[0]
    val y = inLine[1]

    var k = 0

    var result = "No"
    run loop@{
        while(k <= x){
            var fNum = k * 2 + (x - k) * 4
            if(fNum == y){
                result = "Yes"
                return@loop
            }
            k++
        }
    }

    println(result)
}