import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N,M,X,Y = map(int,read().split()) answer = 'YES' if any(x % (M+M) == 0 for x in [X-Y, X+Y-1]) else 'NO' print(answer)