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: 7, 21, ['y', 's', '7879', 'B', 'D', '2741', 'M', '1115', 'C', '1641', '3661', 'q', '8035', '9013', 'j', '8865', 'm', '9863', '5571', '571', 'U', '9669', 'C', '327', 'g', '1907', '1947']

U, 571, 5571, 9863, m, 8865, j, 9013, 8035, q, 3661, 1641, C, 1115, M