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