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: 7, 24, ['3943', 'P', '725', '219', '1831', '6425', '9965', 'e', '4661', '7197', 'h', 'x', 'J', '5241', 'H', '6127', '4123', '3539', 'B', 'i', '3283', 'O', 'S', '2297', '4135', 'F', 'd']

2297, S, O, 3283, i, B, 3539, 4123, 6127, H, 5241, J, x, h, 7197, 4661, e, 9965