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, 22, ['1827', 'X', 'w', '217', '4987', 'y', 'q', '2033', 'e', 'P', 'k', '7467', '7707', 'A', '1037', '4771', 'y', '4139', 'y', 's', 'A', '5463', 'g', 'h', '419', '1217', 'h', '8003']

5463, A, s, y, 4139, y, 4771, 1037, A, 7707, 7467, k, P, e, 2033, q, y, 4987, 217, w, X, 1827