h,w,n,k=gets.split.map(&:to_i) m=h+w-1 puts (m-1)%n==k ? "NO" : "YES"