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: 7, 20, ['897', 'Z', 'l', '9803', '8989', '5269', 'q', '6515', 'L', '7605', 'B', 'U', 'D', 'N', '2751', 'a', '3811', 'O', '6459', 'p']

p, 6459, O, 3811, a, 2751, N, D, U, B, 7605, L, 6515, q