H, W, N, K = map(int, input().split()) m = (H * W) % N if m == 0 and K == N: print('YES') elif m == K: print('YES') else: print('NO')