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