Definition: 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: 4, 23, ['B', '4797', 'L', '9169', '137', 'a', 'J', 'Z', '9493', 'j', 'd', '2763', 'X', '7791', 'E', '9641', 'q', '7987', 'q', '2897', '7721', '2497', '3317', '9587', '5813', 'P', '6381', 'V', 'v', '4205']

3317, 2497, 7721, 2897, q, 7987, q, 9641, E, 7791, X, 2763, d, j, 9493, Z, J, a, 137, 9169