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]: 1, 1, ['p', '9171', '1875']
[EX A]: p

[EX Q]: 6, 6, ['S', 'P', '1911', 'L', 'j', '5961', '7099', 'n', '5637', '335', 'q', 'Q']
[EX A]: 5961

[EX Q]: 3, 4, ['7261', 'j', 'L', '7131', 'p', 'x', 'j', '8121']
[EX A]:
7131, L