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, 22, ['v', 'J', 'l', 'Q', '8467', '9747', 'p', '1355', '4853', 'J', '4549', '8101', 'x', 'Z', 'x', 'M', '4167', 'G', '5831', 'W', '7557', '3783']

3783, 7557, W, 5831, G, 4167, M, x, Z, x, 8101, 4549, J, 4853, 1355, p, 9747, 8467, Q, l