import Control.Monad
import Text.Printf
import Control.Applicative
import Data.List as L

main :: IO()
main = do
  [a, b, x] <- map read . words <$> getLine
  printf "%s" $ slv a b x

slv :: Int -> Int -> Int -> String
slv a b x | x - a >= 0 && x - a <= b = "YES"
          | otherwise = "NO"