Definition: 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: 5, 25, ['T', '2231', 'E', '8633', 'T', 'K', 'N', 'J', '9175', '6817', 'v', 'x', 'M', 'l', '2315', '3509', '9013', 'V', '4815', 'E', 'O', 'a', '1181', 'y', 's']

s, y, 1181, a, O, E, 4815, V, 9013, 3509, 2315, l, M, x, v, 6817, 9175, J, N, K, T