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, 21, ['r', 'y', 'o', 'l', 'a', 'v', 'T', '6527', '8465', 'K', 'L', '7229', '4909', 'z', '8177', 'g', '7869', '2455', 'y', '6187', '5831', '1533', '2005', '7433', '7449', 'a', '703', 'h', 'J', '4865']

5831, 6187, y, 2455, 7869, g, 8177, z, 4909, 7229, L, K, 8465, 6527, T, v