import scala.io.StdIn._

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

  val ans = (0 to 50).exists { i =>
    i <= x &&
    i * 2 + (x - i) * 4 == y
  }

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

