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, ['8587', 'D', 'Z', '2313', '6987', '5031', 'W', '6573', '9163', 'n', '4145', 'r', '1961', 'E', '2741', 'P', 'm', 't', 'i', 'w', '697', 'F', 'v', 'N', 'b', 'E', '3', '1389', 'j']

m, P, 2741, E, 1961, r, 4145, n, 9163, 6573, W, 5031, 6987, 2313, Z, D