import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)
  val X, Y = sc.nextInt
  val t = Y / 2 - X
  val c = X - t
  val ans = if (Y % 2 == 0 && t >= 0 && c >= 0) "Yes" else "No"
  println(ans)
}
