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.

3, 5, ['z', 'X', 'M', 'x', '6115']
6115, x, M

10, 14, ['w', '1857', '3359', 'n', '5831', 'B', '1805', '6145', 'D', 'I', 'N', '7847', 'a', '8349', '6137', '5177', 'L']
8349, a, 7847, N, I

2, 6, ['2279', '6025', 'Y', 'N', 'V', 'S', 'z']

S, V, N, Y, 6025