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: 23, 24, ['R', '6059', 'K', '8557', 'e', 'w', 'U', '4735', 'X', '2049', '6701', 'z', 'V', '4993', '9889', 'x', 'Q', 'R', '387', 'L', '7579', '2779', '261', '7835', '5059', 'U', '4527', '5985', '7455']

7835, 261