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