N = int(input()) a, b, c = map(int, input().split()) a-=1 b-=1 c-=1 c += N if bc: print("Yes") else: print("No") else: if (c+N)%(N*2)>a: print("Yes") else: print("No")