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