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: 8, 18, ['9851', '521', '4393', '2079', '9217', 'U', 'D', '1835', '8435', '3389', '2085', '2357', 'W', '5597', '4715', 'N', '8689', 'T', 'l']

T, 8689, N, 4715, 5597, W, 2357, 2085, 3389, 8435, 1835