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