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: 6, 18, ['k', '9043', 'k', '2139', '9297', 'h', '9067', '2789', '5669', 't', 'C', 'q', '371', '8091', 'Y', '2323', 'R', '9123', '4367', '4105', 'Q', '8689', '4099', 'Q', 'C', '4357', 's', 'K']

9123, R, 2323, Y, 8091, 371, q, C, t, 5669, 2789, 9067, h