module Main where

import Control.Applicative
import Control.Monad

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