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: 1, 25, ['a', '1373', 'a', '7009', 'S', 'S', 'G', '5463', '8315', 't', '8031', '1687', 'W', 'G', '5925', '9721', 'Q', 'p', '6423', '2695', 'm', '4627', '5301', '803', 'p', '5957']

p, 803, 5301, 4627, m, 2695, 6423, p, Q, 9721, 5925, G, W, 1687, 8031, t, 8315, 5463, G, S, S, 7009, a, 1373, a