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.

2, 4, ['4745', 'K', '6647', 'P']
P, 6647, K

1, 4, ['3179', 'x', 'z', '3689', 'O', 'S', '5255', '6411', '7761', 'y', '9997', 't', '2377', '8815']
3689, z, x, 3179

2, 7, ['c', '1199', '5861', 'Q', '9865', 'G', '2323', '7599', '3683', '9455', 'J', 'h', 'd', '7533', 'P', 'L']

2323, G, 9865, Q, 5861, 1199