fun main() {
    var answer = "No"

    val XY = readLine()!!.split(" ").map { it.toInt() }
    val X = XY[0]
    val Y = XY[1]

    for (c in 0..X) {
        if (4*X - 2*c == Y) {
            answer = "Yes"
            break
        }
    }

    println(answer)
}