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, 23, ['O', 'W', '9987', '579', '3499', 'T', '9267', '9665', '1081', 'f', 'd', 'p', '7', 'j', 'R', 'n', 'Q', '3843', '9249', '9285', 'r', '1977', '4951', 'e', '9811', '8299']

4951, 1977, r, 9285, 9249, 3843, Q, n, R, j, 7, p, d, f, 1081, 9665