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: Consider Input: 1, 2, ['i', '8457', 'a']

Output: 8457, i


Input: Consider Input: 11, 12, ['5595', '8581', '2221', '4261', '9457', 'J', 'j', '345', 'P', '6411', '5513', 'o', '833', 'W', 'G']

Output: o, 5513


Input: Consider Input: 8, 14, ['427', '5705', '6419', '471', '3099', 'm', '2371', 'x', '6111', 'A', '5843', '2987', 'M', 'f', 'x', '8807', 'E']


Output: f, M, 2987, 5843, A, 6111, x