H, W, N, K = map(int, input().split()) total_turn = H + W - 1 if total_turn % N == K % N: print("YES") else: print("NO")