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: 3, 24, ['2561', 'f', 'S', 'W', '5657', 'y', '1519', '4119', '105', 'X', '75', 'M', 'z', '9451', 'p', 'm', '1661', 'G', 'D', 'P', 'e', '3485', '4675', '6629', 'a', '5943', 'X', '6659', '1439', 'C']

6629, 4675, 3485, e, P, D, G, 1661, m, p, 9451, z, M, 75, X, 105, 4119, 1519, y, 5657, W, S