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, 15, ['1189', 'C', 'L', '7865', 'D', '3623', 'g', 'i', '9569', '3835', 'd', '6139', 'o', '1279', '1681', '5717', 'A', 'q', '3991', 'u']

1681, 1279, o, 6139