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, 22, ['F', 'T', '6485', '7861', 'T', 'd', '5069', '4631', 'J', '7707', 'R', 'f', '6521', 'g', '1187', '8831', 'T', '5795', '7147', 'f', '9835', '6039', 'F', '9251', 'Q']

6039, 9835, f, 7147, 5795, T, 8831, 1187, g, 6521, f, R, 7707, J, 4631, 5069, d