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: 17, 24, ['U', 'v', 'E', 'Z', 'p', '2547', 'H', '3601', '7353', 'T', 't', 'q', '727', '9253', '6527', '5657', 'R', 'F', 'H', '1659', 'n', '8827', '5023', 'o']

o, 5023, 8827, n, 1659, H, F, R