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, 17, ['7581', 'A', '5619', '8651', 'o', 'h', '7633', '4279', 't', 'Y', '2487', 'O', 'P', '8969', 'r', 'r', '711', 'Z']

711, r, r, 8969, P, O, 2487, Y, t, 4279, 7633, h, o, 8651, 5619, A