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: 16, 21, ['K', 'n', 'g', '7189', '993', 'A', 'c', '4635', '5047', 'Y', 'H', 'x', 'a', '4775', '2471', 'q', '7525', 'I', '3217', '2557', 'F', '2017', '3413', 'O']

F, 2557, 3217, I, 7525, q