import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)
  val X, Y = sc.nextInt

  val a = 2 * X
  val b = Y - a
  val c = b / 2
  val d = X - c
  val z = if (c < 0 || d < 0) "No" else "Yes"
  println(z)
}
