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: 1, 18, ['Y', '9511', 'j', '1', 'o', 'b', 'D', '1989', '2281', '8811', 'z', 'i', 's', 'Y', 'y', 'M', 'K', '5083', '4555']

5083, K, M, y, Y, s, i, z, 8811, 2281, 1989, D, b, o, 1, j, 9511, Y