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: 2, 22, ['c', '5467', '6039', 'm', 'b', 'n', 't', '6219', '6981', '9951', '2539', '3137', 'J', 'A', '117', 'f', 'l', '6301', '3511', '2707', '6565', '7867', 'z', 'D', 'C', 'O']

7867, 6565, 2707, 3511, 6301, l, f, 117, A, J, 3137, 2539, 9951, 6981, 6219, t, n, b, m, 6039, 5467