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

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

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

  println(solve())

}
