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.

5, 10, ['X', 'F', '799', '5775', 'R', 'M', 'Q', '637', 'M', 'm', '5195', '1151', 'm', '7771', 'Z']
m, M, 637, Q, M, R

20, 27, ['5909', 'L', '9861', '3311', '6963', 'i', 'A', '3671', 'n', 'E', '1597', '7265', '601', '211', '9547', '4117', '9843', 'z', '9645', '2627', 'k', '7345', '689', 'Y', '5315', '2927', 'S', '2921', 'D']
S, 2927, 5315, Y, 689, 7345, k, 2627

3, 13, ['3941', 'W', '5273', 'i', '3569', 'u', 'J', '4699', '4097', 'y', '3657', '2711', 'e', 'i', '2741', '4933', '1831', '7199', '4875', '6415', 'U', 'f', 'n', '9821']

e, 2711, 3657, y, 4097, 4699, J, u, 3569, i, 5273