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: 11, 18, ['c', '6937', '3667', 'Z', 'S', '4543', 'D', '8277', 'W', '5615', '2483', 'T', '8199', 'U', '293', 'X', '887', 'g', 'C', '227', 'G', 'e', '2513', 'm', 'Q']
Output:
g, 887, X, 293, U, 8199, T, 2483