a, b, c = io.read("*n", "*n", "*n")
b = a - b
print(3 <= c - b and "YES" or "NO")