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")