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, 20, ['2989', 'v', '5773', 'J', '7763', '5299', '401', '9897', '8645', 'B', '6333', '1301', 'M', '1325', '7009', '8769', '5527', '1099', '8661', 'Z', 'n', 'i']

Z, 8661, 1099, 5527, 8769, 7009, 1325, M, 1301, 6333, B, 8645, 9897, 401, 5299, 7763, J