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