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, ['5791', 'K']

A: K, 5791
****
Q: 12, 18, ['3721', 'E', '2813', '2709', '2221', '627', 'w', 'Z', '9457', 'E', '5821', 'i', 'l', 'P', '2425', 'z', '7085', 's', 'J', '8909', 'f', '4013', '6885', 'o']

A: s, 7085, z, 2425, P, l, i
****
Q: 2, 2, ['d', 'A', 'v']

A:
A
****