object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val X, Y = sc.nextInt()
  val matched = for {
    i <- 0 to X
    j <- 0 to X
    if i + j == X
    if i * 2 + j * 4 == Y 
  } yield ()
  println(if (matched.isEmpty) "No" else "Yes")
}
