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