import Data.List.Split

calc :: Int -> Int -> Int -> String
calc a b x
		| (a + b) < x = "NO"
		| a > x = "NO"
		| otherwise = "YES"

main = do
	str <- getLine
	let str' = splitOn " " str
	let nums = map (read :: String -> Int) str'
	let a = nums !! 0
	let b = nums !! 1
	let c = nums !! 2
	putStrLn $ calc a b c