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]: 2, 4, ['Z', '7849', 'C', 'R', '1187']
[EX A]: R, C, 7849

[EX Q]: 1, 2, ['3551', 'W', 'W']
[EX A]: W, 3551

[EX Q]: 2, 5, ['9907', '307', '7075', '7569', 'W', 'G']
[EX A]:
W, 7569, 7075, 307