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, 16, ['4741', '6303', 'g', 'g', '5133', 'S', '6217', 'R', 'X', 'S', '7669', 'P', '2131', 'f', '6147', 'J', '7405', '91', 'q', '7139', 'H', 'A', '8525', 'S', 'z', 'I']

J, 6147, f, 2131, P, 7669, S, X, R, 6217, S, 5133