H, W, N, K = map(int, input().split()) r = (H * W) % N if r == K or (r == 0 and K == N): print("YES") else: print("NO")