object Main extends App {
    val Array(x, y) = io.StdIn.readLine.split(" ").map(_.toInt)

    var flag = false
    for {
        bird <- 0 to (y/2).ceil.toInt
        turtle <- 0 to (y/4).ceil.toInt
        if bird + turtle == x
        if bird*2 + turtle*4 == y
    } flag = true

    if (flag) println("Yes") else println("No")
}