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.

2, 2, ['957', 'X', '1367', '8185', '5075', 'U', 'X', 'a']
X

10, 17, ['265', 'h', 'r', '2143', 'p', '1643', '7861', '2733', 'v', 'h', '7525', 'm', '3439', '1141', '6499', '9351', '2313', '1703', 'O', '7563']
2313, 9351, 6499, 1141, 3439, m, 7525, h

4, 7, ['G', 'E', '803', '4615', '8343', 'S', '9399', '4231', 'W', 'I', 'j', '6679', '1757', '5961', 'i', '2729', '2299', '2533', 'b', '3287', '7629', 'p']

9399, S, 8343, 4615