N = int(input()) a, b, c = map(int, input().split()) if a < b: print("Yes" if c + N - a > N else "No") else: print("Yes" if c + N - a < N else "No")