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: 3, 12, ['9871', 'O', '6889', '9613', '5667', '9453', 'H', '3871', 'K', 'x', 'g', '27', 'P', 'J', 'Y', 'y', '9047', 'H']

27, g, x, K, 3871, H, 9453, 5667, 9613, 6889