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: 18, 21, ['4247', '9091', 'z', '7757', '989', 'Y', '5487', '5659', 'w', '9443', '7979', '339', 'X', 'X', 'i', '901', 'i', 'w', '2065', 'g', '3925', '3355', '1995', 'F', 'W', 'K', 'c', 'I', '5049', 'I']

3925, g, 2065, w