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: 9, 18, ['6243', 'R', '7343', 'y', '1889', '7715', 'S', '9581', '4161', '3229', '1897', 'Q', '1259', '2409', '7295', '1581', '3859', 'r', 'x', 'B']

r, 3859, 1581, 7295, 2409, 1259, Q, 1897, 3229, 4161