object Main extends App {
  val inputs: Seq[String] = scala.io.Source.stdin.getLines().toList

  val nums = inputs.head.split(" ").map(_.toInt)
  val animals = nums(0)
  val legs    = nums(1)

  println(solve(animals, legs))

  def solve(animals: Int, legs: Int): String = {
    // 足の数が奇数の場合false
    if (legs % 2 != 0) {
      return "No"
    }

    val kame = legs / 4
    val bird = legs / 2

    if ((kame to bird).contains(animals)) {
      return "Yes"
    }
    return "No"
  }
}