while true
    m, nmin, nmax = gets.chomp.split.map(&:to_i)
    break if [m, nmin, nmax] == [0, 0, 0]
    arr = []
    m.times{arr << gets.to_i}
    max, max_i = nil, nil
    (nmin).upto(nmax){|i|
        if max.nil? || max <= (arr[i] - arr[i-1]).abs
            max, max_i = (arr[i] - arr[i-1]).abs, i
        end
    }
    puts max_i
end
