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: 1, 15, ['Y', 'Y', '1239', 'p', '3841', '351', '8633', '2891', 'K', 'S', '6245', '405', '7613', 'n', '4351', 'c', 'k', 'Q', '3655', 'A', 'X', 'a', 'l', '5837', '3693', '2297']

4351, n, 7613, 405, 6245, S, K, 2891, 8633, 351, 3841, p, 1239, Y, Y