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, 18, ['599', '1007', 'a', '6973', '8735', 'K', 'a', 'a', '7543', 'Y', 'g', 'C', '743', 'R', 'o', '7593', '8959', '9641', 'c', 'B', 'N']

9641, 8959, 7593, o, R, 743, C, g, Y, 7543, a, a, K