H,W,N,K=map(int,input().split()) print("YNEOS"[K!=(H*W-1)%N+1::2])