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