import Control.Applicative
import Control.Monad
import Data.List

main :: IO()
main = do
    [a, b, x] <- map read . words <$> getLine
    putStrLn $ solve a b x

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