H,W,N,K = [int(i) for i in input().split()] # print((H*W)%(N+1)) if (H*W) % (N+1) == K: print("YES") else: print("NO")