n, m, x = map(int, input().split()) possible_out = min(m, n - x) min_in_group = m - possible_out print("YES" if min_in_group >= 3 else "NO")