n,m,x=gets.split(" ").map(&:to_i) if n-m+3<=x then puts "YES" else puts "NO" end