#coding: utf-8 #yuki_384 h,w,n,k=map(int,raw_input().split()) cnt=h+w-1 if cnt%n==k%n or n==1: print "YES" else: print "NO"