h, w, n, k = gets.split.map(&:to_i)

if (h + w - 1) % n == k % n
  puts 'YES'
else
  puts 'NO'
end