H,W,N,K = list(map(int, input().split())) all = H+W-1 if all%N==K%N: print("YES") else: print("NO")