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: 5, 21, ['A', 'y', '2095', 'v', 'U', 'W', '4839', '7915', '3597', '1349', '1279', '7447', '5593', '6821', '4781', 'O', '4409', '5831', 'D', '3001', 'Q', 'd', 'M']

Q, 3001, D, 5831, 4409, O, 4781, 6821, 5593, 7447, 1279, 1349, 3597, 7915, 4839, W, U