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: 4, 23, ['g', '3047', 'C', 'b', '505', '8979', 'C', 'J', '5487', '3713', '689', 's', '1409', 'n', 'B', 'U', '4357', 'u', '5039', '3279', '4749', 'P', '2101', '4427', '307', 'N', 'I']

2101, P, 4749, 3279, 5039, u, 4357, U, B, n, 1409, s, 689, 3713, 5487, J, C, 8979, 505, b