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: 10, 22, ['1193', 'x', '2341', 'n', '5115', 'k', '199', 'M', '4983', 'a', '8577', '3219', '9443', '2565', '5789', 'b', 'P', '8661', '355', 'Q', '4053', 'U', '8325', 'W', 'T']

U, 4053, Q, 355, 8661, P, b, 5789, 2565, 9443, 3219, 8577, a