h, w, n, k = gets.split.map(&:to_i) count = h + w - 1 out = if count % n == 0 n else count % n end puts out == k ? 'YES' : 'NO'