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, ['J', 'O', 'V', 'O']

Output: O, J


Input: Consider Input: 14, 15, ['D', '2223', '891', '3909', 'c', 'c', '6109', '4333', 'i', '2463', '5563', 'm', 'E', 'J', '3029', 'R', '3811', '1339', '2655', '2221', '2163', 'D', '8787', '983', 'k', 'z']

Output: 3029, J


Input: Consider Input: 9, 10, ['H', 'm', 'Y', 'X', '467', '3457', '3339', 'P', '9233', 'o', 'S', '5815', 'q', 'g', 'X', 'v', '3187', 'y', '6409', 'V', '4945', '1549', '5233', 'd', 'j', '1471']


Output: o, 9233