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.
One example: 1, 3, ['z', 'h', 'Y', 'U', '2799']
Solution is here: Y, h, z
Explanation: Here, all the elements between the 1st element and 3rd element in reverse order are 'Y', 'h', and 'z'.

Now, solve this: 5, 16, ['l', 'q', '9947', '1563', 'P', 't', 'c', '9669', '1781', '3511', '7667', 'O', 'H', 'q', '4985', 'K', 'h']
Solution:
K, 4985, q, H, O, 7667, 3511, 1781, 9669, c, t, P