H, W, N, K = [int(x) for x in input().split()] print('YES' if H*W % N == K % N else 'NO')