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, 15, ['6997', '7851', 'O', 'n', 'Y', '8991', '7063', 'p', '4611', 'I', '6895', '2635', 's', '6049', '1751', '8369', '5', '1545']

1751, 6049, s, 2635, 6895, I, 4611, p, 7063, 8991, Y, n, O, 7851, 6997