fun intList(): List<Int> = readLine()!!.split(" ").map(String::toInt)

fun main() {
    val (x, y) = intList()

    var isTrue = false

    for(i in 0..x) {
        val turtleCount = i
        val craneCount = x - i

        if(turtleCount * 4 + craneCount * 2 == y) isTrue = true
    }

    println(if(isTrue) "Yes" else "No")
}