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, 22, ['3729', '445', 'd', 'S', 'I', '261', '8213', 'm', '2109', 'R', '6393', '8783', '6213', '7841', '651', '2137', '485', '6741', 'Z', '6057', 'B', '629', '9377', '4755', '981', '4049', '7779', '2681', '1413', 'I']

629, B, 6057, Z, 6741, 485, 2137, 651, 7841, 6213, 8783, 6393, R, 2109, m