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: 5, 30, ['A', '2299', 'H', 'N', 'o', '7247', '4091', '5781', '825', 'T', '6571', 'D', 'Y', 'D', 'L', 'A', 'I', 'q', 'L', 'X', 'y', 'N', 'x', 'A', 'o', 'O', '9099', '5171', 'F', '5271']

5271, F, 5171, 9099, O, o, A, x, N, y, X, L, q, I, A, L, D, Y, D, 6571, T, 825, 5781, 4091, 7247, o