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