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: 2, 20, ['x', 'y', '2471', 'G', '727', 'S', 'E', '2437', 'h', 'x', 'z', 'f', '5407', 'r', '2029', 'c', 'p', '3173', '3177', '4395', 'M', '3777', 'V', '7539']

4395, 3177, 3173, p, c, 2029, r, 5407, f, z, x, h, 2437, E, S, 727, G, 2471, y