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, ['2673', 'B', 'F', 'p', 'L', 'M', 'L', 'y', '6323', '4727', 'U', '555', 'H', '7013', 'I', 'G', 'n', '335', 'A', '5847', 'd', '2623', 'O', '8707', 'D', '1319', 'e', 't', '1911']

8707, O, 2623, d, 5847, A, 335, n, G, I, 7013, H, 555, U, 4727, 6323, y, L, M, L