def main(): H, W, N, K = map(int, input().split()) x = (H * W) % N if not x: x = N if x == K: print('YES') else: print('NO') main()