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