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.

4, 6, ['w', '7135', 'l', 'e', 'V', '5989', '5537', 'Q', 'T', '1017', 'D', '5645']
5989, V, e

2, 4, ['c', '2755', 's', 'C']
C, s, 2755

2, 2, ['7345', 'U', '8913', 'J', '9683', '3205', '4623', 'd', '1231', '3963', '2457', 'Z', '6715', '7455', 'M', '7139', 'p', 'd', 'z', 'Z', '2899', 'T', '9499', '8967', 'F', 'K', '715', 'T']

U