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, 22, ['A', '2135', '8259', 'Y', '6465', '4249', 'Q', '1381', 'h', 'j', '1075', '2325', '1955', 'm', '5267', '135', 'W', 'C', 'w', '4003', '1875', 'O', 'M', '6013']

O, 1875, 4003, w, C, W, 135, 5267, m, 1955, 2325, 1075, j, h, 1381, Q, 4249, 6465