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