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