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