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, 22, ['4131', '3421', '6709', '3245', '1249', 'r', 'M', '2057', 'N', 'R', '5005', '6867', 'N', '4049', '8787', '2515', 'o', 'm', 'u', '9289', 'D', 'N']

N, D, 9289, u, m, o, 2515, 8787, 4049, N, 6867, 5005, R, N, 2057, M, r, 1249, 3245, 6709, 3421