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: 5, 20, ['d', 'w', 'X', 'o', 'G', '7787', 'H', 'D', 'q', '5603', 'E', '5809', 'd', '351', '3823', '8581', '2469', '8689', 'p', '6245', 'e', 'I', 'M', 'Y', '9525', '3119']

6245, p, 8689, 2469, 8581, 3823, 351, d, 5809, E, 5603, q, D, H, 7787, G