fun main(args: Array<String>) {
    val (t, legs) = getInts()

    val result = (0..t).firstOrNull {
        it * 2 + (t - it) * 4 == legs
    }

    if (result != null) {
        println("Yes")
    } else {
        println("No")
    }
}



fun getInt() = readLine()!!.toInt()
fun getInts() = readLine()!!.split(" ").map { it.toInt() }