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