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: 8, 18, ['9231', '3331', 'M', '5309', 'L', 'y', 'C', 'b', '1827', 't', '1045', 'P', '655', '5621', 'C', 'w', '9235', '7889', 'p', '3185', '4201', '6569', 'g', '6691', '4555', '8327']

7889, 9235, w, C, 5621, 655, P, 1045, t, 1827, b