n = int(input()) a,b,c = map(int,input().split()) if a < b and b < c: print('Yes') elif a < c and c < b and (n-c) <= (a-b): print('Yes') else: print('No')