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, 16, ['2883', '2497', '2551', '9181', 'R', 'M', '6501', 'h', 'R', 'F', '2663', '5595', 'M', 'h', '1289', 'i', 'c', '1265']

i, 1289, h, M, 5595, 2663, F, R, h, 6501, M