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.

4, 12, ['6541', 'a', 'O', '2971', 'V', 'z', '7727', '5615', 'B', 'J', 'X', '7751', 'R', 'j', '5297']
7751, X, J, B, 5615, 7727, z, V, 2971

3, 3, ['7159', '1427', '367', 'K']
367

1, 5, ['S', 'I', '9587', '6711', '5985', '741']

5985, 6711, 9587, I, S