N, M, X = map(int, input().split()) if X - N + M >= 3: print("YES") else: print("NO")