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