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: 5, 12, ['r', 'I', 'q', 'd', '687', '9883', '6867', '1385', 'x', '1797', '8067', '3397', '2717', '311', '99', '2621', '3961', '4545', '9645', 'k', 'z', 'd', '3783', 'x', '6539', 'a', '5813', '5525']

3397, 8067, 1797, x, 1385, 6867, 9883, 687