h, w, n, k = gets.split.map(&:to_i) if (h + w - 2) % n + 1 == k puts "YES" else puts "NO" end