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: 6, 20, ['M', '8841', '7803', 'y', 'i', 'a', 'D', 'q', 'Q', 'j', 'X', '4409', '4987', 'M', '9471', '7603', '7037', '3611', '3127', 'I', 'L']

I, 3127, 3611, 7037, 7603, 9471, M, 4987, 4409, X, j, Q, q, D, a