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.

2, 2, ['i', 'd', 'q', 'y']
d

7, 8, ['2649', '3879', '3993', 'I', '8913', 'N', 'd', '277', '1835', 'h', 'f', 'r', 'c', 'Z', '6655']
277, d

1, 10, ['q', 'w', '3381', '6701', '363', 'h', '8369', '339', '2135', '8767']

8767, 2135, 339, 8369, h, 363, 6701, 3381, w, q