Definition: 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.
Input: 15, 24, ['l', 'R', '1491', '3083', '6209', '7969', '827', 'J', '9627', '4207', 'l', '1685', '2437', '9055', '6817', '5421', 'y', '3047', 'i', 'U', '939', '7697', 'X', '5873', 'U', '2107', '2081', '6781']

5873, X, 7697, 939, U, i, 3047, y, 5421, 6817