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: 6, 25, ['2145', 'Z', 'g', '1361', '7687', 'K', '4551', 'q', 'a', 'r', '7279', '6403', '2627', 'c', 'x', 'R', 'i', 'U', 'R', '7011', '9765', '8557', '9841', 'x', '27', '9227', 'Q', 'r', 'j']

27, x, 9841, 8557, 9765, 7011, R, U, i, R, x, c, 2627, 6403, 7279, r, a, q, 4551, K