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: 10, 21, ['7185', '6327', 'm', '4373', 'z', '1771', '5199', '5347', 'n', 'u', 'K', 'n', '4247', 'L', 'w', '7227', '6331', '831', 'q', '2871', 'I', 'K', 'Q', '1469', 'a', 'm', 'O', 'g']

I, 2871, q, 831, 6331, 7227, w, L, 4247, n, K, u