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: 6, 10, ['T', 'A', 'u', '2987', '5775', 'i', '6841', 'R', 'k', '5431']

A: 5431, k, R, 6841, i
****
Q: 5, 6, ['L', '8025', '6699', '6437', 'G', 'Q', 'H', '9831']

A: Q, G
****
Q: 9, 20, ['W', 'K', 'l', 'L', 'l', 'X', 'k', 'H', 'r', '2107', 'M', 'r', '865', 't', 'D', 'N', '461', 'R', '6959', '235', '531']

A:
235, 6959, R, 461, N, D, t, 865, r, M, 2107, r
****