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

6, 8, ['a', '2135', '4583', '6467', 'i', 'M', 'A', '8341', 'f', '2943']
8341, A, M

6, 29, ['y', 'L', 'U', '6333', 'J', '903', '1567', 'c', '3599', '1957', '7777', 'Y', '19', 'M', 'N', 'v', 'W', '9981', 'r', 'p', 'F', '6671', '2687', 'S', '389', '9519', '4139', '745', '2367', '4343']

2367, 745, 4139, 9519, 389, S, 2687, 6671, F, p, r, 9981, W, v, N, M, 19, Y, 7777, 1957, 3599, c, 1567, 903