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: 18, 23, ['s', '13', '8707', '4775', 'a', '1557', '6647', '5415', '3789', '6531', '3495', 's', 'L', '941', '1383', '8685', '2611', 'R', '7611', 'f', '6163', '495', '7035', 'r', 'Y', 'U', 'F', '6765', '2879', 'B']

7035, 495, 6163, f, 7611, R