fun main() {
    val (x, y) = nextIntList()
    val b = (y - 2 * x).div(2)
    val a = x - b
    println(if (a >= 0 && b >= 0 && 2 * a + 4 * b == y) "Yes" else "No")
}

// # Utils
// ## Input
fun next() = readLine()!!
fun nextInt() = next().toInt()
fun nextLong() = next().toLong()
fun nextDouble() = next().toDouble()
fun nextList() = next().split(" ")
fun nextIntList() = next().split(" ").map(String::toInt)
fun nextLongList() = next().split(" ").map(String::toLong)
fun nextDoubleList() = next().split(" ").map(String::toDouble)