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: 4, 23, ['S', '9253', '1695', '7659', 'X', 'm', '403', '8215', '7355', '8301', '4585', 'b', 'M', '4925', '7141', '4743', '3645', '423', '4989', '6811', '1625', 'w', 'r', '9811', '5165']

r, w, 1625, 6811, 4989, 423, 3645, 4743, 7141, 4925, M, b, 4585, 8301, 7355, 8215, 403, m, X, 7659