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, ['r', 'H', '6383', '6381', '2923', 'P', '1065', '591', 'i', '7337', 'q', '321', 'B', 'k', 'f', 'Z', '3309', '1845', '8723', 'Y', '4287', '3063', 'b', '9839', 'Y', '5317', '4915']

5317, Y, 9839, b, 3063, 4287, Y, 8723, 1845, 3309, Z, f, k, B, 321, q, 7337, i, 591, 1065