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