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, 26, ['2657', '1607', '6823', 'r', '4843', 's', '4613', 'y', 'W', 'g', '1581', '4991', '6173', 'I', 'c', 'c', 'n', 'W', '8877', 'M', '1523', 'p', 'n', 'U', 'f', 'k', 'e', '9241', '8381']

k, f, U, n, p, 1523, M, 8877, W, n, c, c, I, 6173, 4991, 1581, g, W, y