fun main(args: Array<String>) {
    val line = readLine()!!.trim()
    val (x: Int, y:Int) = line.split(" ").map {it.toInt() }

    val turtoles2 = (y - 2 * x)

    if (turtoles2 % 2 == 0 && 2 * x >= turtoles2 && turtoles2 >= 0) {
        println("Yes")
    } else {
        println("No")
    }
}
