fun main() = Thread(null, ::abc170b, "(^o^)", 128 * 1024 * 1024).apply { start() }.join()

@OptIn(ExperimentalStdlibApi::class)
fun abc170b() {
    val (num, legs) = readLine()!!.split(' ').map { it.toInt() }

    for (crane in 0..num) {
        val turtle = num - crane
        if (crane * 2 + turtle * 4 == legs) return println("Yes")
    }

    println("No")
}
