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, ['31', 'Y', 'S', 'K', '251', '837']

Output: Y, 31


Input: Consider Input: 2, 2, ['D', 'l', 'g', '151', 'S']

Output: l


Input: Consider Input: 19, 24, ['9537', '1293', '7537', '2631', 'Y', 'd', '6951', '3435', '9977', 'i', 'b', '8439', '7559', '3441', 'W', '8665', 'H', 'F', '5221', 'g', '9453', 'q', '3797', 'Q', '4219', '1067', '1599']


Output: Q, 3797, q, 9453, g, 5221