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