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: 8, 18, ['b', 'D', 'I', 'r', '6747', 's', 'Z', '1535', 'O', 'e', '7257', '9863', '7583', 'S', '3267', '2177', '1483', '7181', '5345', '3485', '9147', 'R', '4345']

7181, 1483, 2177, 3267, S, 7583, 9863, 7257, e, O, 1535