object Main {
  def main(args: Array[String]): Unit = {
    import scala.io.StdIn.readLine
    val Array(datX, datY) = readLine.split(" ").map(_.toInt)

    var ans = false
    (0 to datX) foreach {i =>
      val turtle = i
      val crane = datX - i

      if (ans == false) {
        if (turtle * 4 + crane * 2 == datY) ans = true
      }
    }

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