import Control.Applicative ((<$>))

main :: IO ()
main = solve <$> map read <$> words <$> getLine >>= putStrLn
  
solve :: [Int] -> String
solve [a, b, x] = if a <= x && x <= a + b then "YES" else "NO"
