H, W, N, K = map(int, input().split(' ')) if ((H-1) + W) % N == K or (((H-1) + W) % N == 0 and K == N): print('YES') else: print('NO')