import scala.io.StdIn._
object Main extends App {

  val Array(x, y) = readLine().split(" ").map(_.toInt)

  def solve(): String = {
    for {
      i <- 0 to x
      j <- 0 to x - i
    } yield {
      if(2 * i + 4 * j  == y) return "Yes"
    }
    "No"
  }

  println(solve())

}
