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: 18, 22, ['f', '5791', '785', '5191', '8677', 'l', 'l', '2543', 'a', '4401', '5281', 'u', '1577', '2903', 'Q', '7657', '9243', '385', 'X', 'P', 'd', '8777', '2569', '6173', '8151']

Output: 8777, d, P, X, 385


Input: Consider Input: 3, 3, ['7945', '5239', '5011', 'R', '9883', '9339', '8049', '2985', '1909', '4825', 'r', 'A', '2873', '5071', '6121', '1945', 'V', '2203', '9079', 'D', '2089', '2235']

Output: 5011


Input: Consider Input: 9, 10, ['n', 'K', '6035', '7831', '9359', 'b', '2607', '1723', 'A', 'X', '7023', 'Z', 'T', '5491']


Output: X, A