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: 2, 2, ['a', 'i', 'i', '125', '997', 'u', 'U', '2931', 'q']

Output: i


Input: Consider Input: 3, 4, ['5681', '2093', 'N', '7107', 'X', 'F', '1993']

Output: 7107, N


Input: Consider Input: 1, 2, ['h', '6929']


Output: 6929, h