n, m, x = gets.split.map(&:to_i) puts x - (n - m) >= 3 ? "YES" : "NO"