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