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.

[Q]: 18, 22, ['f', '5791', '785', '5191', '8677', 'l', 'l', '2543', 'a', '4401', '5281', 'u', '1577', '2903', 'Q', '7657', '9243', '385', 'X', 'P', 'd', '8777', '2569', '6173', '8151']
[A]: 8777, d, P, X, 385


[Q]: 9, 13, ['p', 'R', '3789', '1553', '9085', '249', '2895', '9605', 'M', 'Q', 'C', '8795', '1477', '7387']
[A]: 1477, 8795, C, Q, M


[Q]: 13, 16, ['Y', '3879', 'M', 'b', '5957', 'Y', '5829', '3051', 'c', 'i', 'w', '3377', '6303', '4783', 'B', '3207', 'r', 'i', 'b']
[A]:
3207, B, 4783, 6303