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