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, 22, ['Q', 'S', 'k', '7461', 'u', '9999', 'R', '3141', '6927', '421', '4659', '9875', '7901', 'k', 'h', 'R', 'K', '8609', 'C', '2013', '2281', 'x', '7697', 'g', '1589', '1933', '835']

x, 2281, 2013, C, 8609, K, R, h, k, 7901, 9875, 4659, 421, 6927, 3141, R, 9999, u, 7461