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: 8, 17, ['5865', '7051', '7663', 'y', 'G', '7429', '5017', '7063', 's', 'd', 'S', '4409', '4457', '1119', '4737', 'D', '4877']

4877, D, 4737, 1119, 4457, 4409, S, d, s, 7063