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: 3, 20, ['r', 'f', 'N', '8231', 'N', 'd', 'X', '3819', '6749', 'U', 'X', 'q', '3333', 'k', 'D', '9799', 'k', '2973', '8259', '7127', 'B', '1935']

7127, 8259, 2973, k, 9799, D, k, 3333, q, X, U, 6749, 3819, X, d, N, 8231, N