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