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: 8, 21, ['7301', 'X', 'g', '7031', '7597', 'O', 'c', 'w', 'j', '8433', '8941', 'k', 'J', '4537', '125', 'n', '159', 'b', 'k', '3795', '2537', '947']

2537, 3795, k, b, 159, n, 125, 4537, J, k, 8941, 8433, j, w