Definition: 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.
Input: 7, 11, ['h', 'S', 'Y', '373', '6619', '659', '7187', 'J', 'a', 'Q', '5671', '1467', '6261', 'i', '9983', 'q', 'p', '9309', '3293', '9393', '3547', 't', 'B', '6951', 'R', 'a', 'S', '375', '1241', 'B']

5671, Q, a, J, 7187