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: 1, 8, ['Q', '5831', '297', '2447', '1199', 'l', '4915', '8855', 'c', '3535', 'W', 'r', '3735', 't', '217', '6307', '1049', '2671', 'Q', '5049', 'E', 'M', 'J', 'M', '1893', '5537', '4211']

8855, 4915, l, 1199, 2447, 297, 5831, Q