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: 5, 18, ['s', '7881', '8409', '1101', '2103', 'u', '1583', '7331', '7641', '7485', 'O', '9405', '4239', '3525', 'u', '7139', '3109', 'X', 'W', '2669', '8249']

X, 3109, 7139, u, 3525, 4239, 9405, O, 7485, 7641, 7331, 1583, u, 2103