main :: IO()
main = do
    [a,b,x] <- map read . words <$> getLine
    putStrLn $ if (getsolve a b x) then "YES" else "NO"
    
getsolve :: Int -> Int -> Int -> Bool
getsolve a b x
    | x < a			= False
    | x-a <= b		= True
    | otherwise		= False