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