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

7, 16, ['8795', '2711', 'm', '2603', 'x', 'o', '5549', 'r', 'U', '3829', '8827', '5879', 'x', '4601', '8473', 'y', 'm', '4241', '9023', 't', '7715', '8707', '1', 'g', '4781', 'z', '8785', 'w', 'I']
y, 8473, 4601, x, 5879, 8827, 3829, U, r, 5549

2, 4, ['5755', '4681', '1143', '7891', 'I', '5429']

7891, 1143, 4681