H,W,N,K = [int(i) for i in input().split()] if N == K: if H*W%N == 0: print("YES") else: print("NO") else: if H*W%N == K: print("YES") else: print("NO")