object Main extends App {
  val sc = new java.util.Scanner(System.in)
//  val l = List.fill(3)(sc.nextInt)
  val a, b, x = sc.nextInt

  val c = x - a
  val ans = if (0 <= c && c <= b) "YES" else "NO"
  println(ans)
}