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, 21, ['t', 'q', 's', '7727', '5317', '8997', 'e', '7203', '8887', '4883', '9969', '1577', 'U', 'W', 'A', 'k', '5231', '3413', 'G', 'i', '3571', 'i', '289', '2339', 'r', 't', '1279']

3571, i, G, 3413, 5231, k, A, W, U, 1577, 9969, 4883, 8887, 7203, e, 8997