H,W,N,K=map(int,input().split()) print(('NO','YES')[(H*W+K)%N==0])