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: 7, 26, ['p', 'J', '6339', 'D', '519', 'n', 'x', '957', 'G', 'f', '1919', 'M', '1095', 'F', '8923', 'H', '6183', '9647', 't', 'L', 'D', '635', 'F', 'c', 'A', '5407']

5407, A, c, F, 635, D, L, t, 9647, 6183, H, 8923, F, 1095, M, 1919, f, G, 957, x