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.

1, 9, ['8507', '1839', 'd', '6955', '3691', 'c', 'R', '9097', 'E', 'b', 'X', 'P', 'D', 'S', '1515', 'X', 'I']
E, 9097, R, c, 3691, 6955, d, 1839, 8507

3, 5, ['g', '4461', 'G', 'M', 'q']
q, M, G

5, 5, ['D', 'k', '7997', '5967', '4307', 's', 'x']

4307