In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to list all elements of A from the ith element to the jth element in the reverse order. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j.

Input: Consider Input: 5, 6, ['O', '6931', '9265', 'i', 'j', '7553', '8973', '5503']

Output: 7553, j


Input: Consider Input: 4, 16, ['3179', '701', '587', '2847', '1527', 'C', 'E', 'm', '403', '703', '1203', '8909', '775', 'O', '3829', '8257', '7031', 'G', '6687', '2587']

Output: 8257, 3829, O, 775, 8909, 1203, 703, 403, m, E, C, 1527, 2847


Input: Consider Input: 1, 2, ['R', '3747', 'G', 'U', '3995', '581']


Output: 3747, R