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