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.

[EX Q]: 7, 12, ['2947', 'x', 'x', 'N', 'w', '2527', '4807', '343', 'r', 'i', '9369', 'J']
[EX A]: J, 9369, i, r, 343, 4807

[EX Q]: 1, 3, ['8377', '8747', 'M', '1089', '4329']
[EX A]: M, 8747, 8377

[EX Q]: 5, 5, ['Z', '873', 'V', 'F', '7741', '2623']
[EX A]:
7741