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: 2, 17, ['P', '3541', '7129', '8471', 'n', 'Y', 'U', 't', '3071', '5315', 'o', 'Q', '4657', 'U', 'C', 'W', 'Y', 'm', '2999', 'M', '3105', 'C']

Y, W, C, U, 4657, Q, o, 5315, 3071, t, U, Y, n, 8471, 7129, 3541