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: 17, 22, ['5949', 'm', '765', 'K', 'C', 'M', 'K', 'i', '6907', '2989', '4625', 'f', 's', 'V', '195', 'a', '7323', '1299', '7739', '4543', 'f', 'D', 'R', 'V', 'X', '9975', 'l', 'a', '2277', '7479']

D, f, 4543, 7739, 1299, 7323