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: 12, 19, ['6015', 'k', 'i', '1517', '3323', 'S', 'P', 's', '1513', '39', 'u', '7651', '9341', '2437', '6983', 'b', '4589', 'Z', 'J']

J, Z, 4589, b, 6983, 2437, 9341, 7651