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: 4, 16, ['G', '1269', '6677', '4171', '1575', '7417', 's', 'O', '1983', '6753', 'Z', '4855', '5397', '4265', 'd', '8589', 'D', 'e', '1361']

8589, d, 4265, 5397, 4855, Z, 6753, 1983, O, s, 7417, 1575, 4171