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, ['9257', 'd', '6271', '5991', '6089', '2977', 'S', 'F', 'D', 't', 'm', '391', '1871', 'P', 'D', '4743', '8529', '7495', '1619', '5473', 'n', '6399', '5877', 'v']

6399, n, 5473, 1619, 7495, 8529, 4743, D, P, 1871, 391, m, t