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, 24, ['6511', '7111', 'F', '2775', 'h', '2865', 'B', 'q', '5941', 'L', 'x', 'R', '3941', '7035', 'W', '1373', 'q', 'e', '9033', '535', 'X', '1535', 'e', '3689']

3689, e, 1535, X, 535, 9033, e, q, 1373, W, 7035, 3941, R, x, L, 5941, q, B, 2865, h