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.

3, 5, ['l', 'D', 'I', 'u', '3107', '1721', '5489']
3107, u, I

3, 3, ['7159', '1427', '367', 'K']
367

2, 4, ['B', '3425', '5091', '7763', 't', 'K', 'Z', 'l', '1567']

7763, 5091, 3425