object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val x, y = sc.nextInt()
  (0 to x).find( i =>
    2 * i + 4 * (x-i) == y
  ) match {
    case Some(_) => println("Yes")
    case None => println("No")
  }
}
