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