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: 1, 18, ['6539', 'Q', '403', '8603', '4019', '3793', '4397', 'x', 't', '5047', 'T', '295', '859', 'z', '9715', '587', '2919', 'S', 'F', 'x', '6431', '3141', 'O', 'B', 'q', '6019']

S, 2919, 587, 9715, z, 859, 295, T, 5047, t, x, 4397, 3793, 4019, 8603, 403, Q, 6539