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