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.

6, 6, ['7899', '775', 'g', 'A', 'Q', 'B', '7101', 'V', '8729', '4335', '213', '8399', '1883', '7941', 'J', 'V', 'B', '1043', '9685', '3573', '1645', '5971', 'S', 't']
B

7, 8, ['8565', '7681', 'N', '5867', '4951', '4761', '3639', '4005', '2043']
4005, 3639

3, 7, ['4187', 'v', '6709', 'F', '1781', 'M', '3419']

3419, M, 1781, F, 6709