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: 2, 4, ['Z', '7849', 'C', 'R', '1187']

A: R, C, 7849
****
Q: 1, 7, ['4169', '8099', '4021', '5341', 'q', '619', 'j', 'X', '9369', 'z', '6265', 'S', 'M', '1783']

A: j, 619, q, 5341, 4021, 8099, 4169
****
Q: 1, 3, ['Z', '5379', 'P']

A:
P, 5379, Z
****