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, 7, ['S', '4201', 'H', 'K', 'L', '8827', 'o', '9979', 'r', '9743', 'T']

A: o, 8827
****
Q: 2, 15, ['z', '7913', 'Z', '4973', '7617', '8065', 'D', '4585', '8543', '4861', 'C', 'q', '2643', 'G', '343', 'q', '2125', '2033', '123', 'Z']

A: 343, G, 2643, q, C, 4861, 8543, 4585, D, 8065, 7617, 4973, Z, 7913
****
Q: 1, 2, ['X', 'y']

A:
y, X
****