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