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: 22, 25, ['5197', 'm', 'c', 'g', 'U', 'r', 'F', 'p', '3087', '8603', 'd', 'f', 'B', '8077', 'a', '2091', '6933', '8801', '7343', '3721', '8143', '583', '9519', 'A', '7219', 'l', 'J']

7219, A, 9519, 583