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, 23, ['99', '6925', 'm', '2613', 'Z', 'v', 's', '4819', 'C', '2829', '8313', '5417', '5985', '663', 'O', 'o', 'Q', 'o', 'm', 'y', 'U', '6551', 'n', 'Y', 'R', '8203', '1873', 'Y', 'b', '731']

n, 6551, U, y, m, o, Q, o, O, 663, 5985, 5417, 8313, 2829, C, 4819, s, v, Z