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: 1, 24, ['7535', 'y', 'X', '515', 'a', 'Z', '4567', '8379', 'P', 'v', 'X', '3557', 'k', 'd', '1043', 'O', 'B', 'E', 'W', '731', 'Z', '4235', '809', '5685', '6777', '5405']

5685, 809, 4235, Z, 731, W, E, B, O, 1043, d, k, 3557, X, v, P, 8379, 4567, Z, a, 515, X, y, 7535