fun main(args: Array<String>) {
  val (X, Y) = readLine()!!.split(" ").map{it.toInt()}
  
  fun calcLegNum(kame: Int = 0, head: Int = X, leg: Int = Y): String {
    return if((head - kame) * 2 + kame * 4 == leg) "Yes" else if(kame > X) "No" else calcLegNum(kame + 1)
  }
  val result = if(Y % 2 != 0 || X * 4 < Y) "No" else calcLegNum()
  
  println(result)
}