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: 1, 2, ['1371', 'Y', '2679']

A: Y, 1371
****
Q: 4, 12, ['6541', 'a', 'O', '2971', 'V', 'z', '7727', '5615', 'B', 'J', 'X', '7751', 'R', 'j', '5297']

A: 7751, X, J, B, 5615, 7727, z, V, 2971
****
Q: 3, 6, ['4091', '5345', '109', 'K', '8665', 'Q']

A:
Q, 8665, K, 109
****