H,W,N,K=map(int,raw_input().split()) if (H*W-1)%N+1==K: print "YES" else: print "NO"