H, W, N, K = gets.split.map(&:to_i) if (H + W - 2) % N + 1 == K puts 'YES' else puts 'NO' end