n, m, x = map(int, input().split()) if x - 3 >= n - m: print("YES") else: print("NO")