import Control.Applicative

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 = if (length [y | y <- [0..b], y + a == x]) > 0 then "YES" else "NO"