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, 24, ['2165', '2017', 'i', 'p', '6525', '2585', 'U', '281', '9175', 'z', '2627', 'J', 'N', '4109', '4833', '551', '95', '3585', '6429', '6685', 'U', '9147', '6689', 'F']

F, 6689, 9147, U, 6685, 6429, 3585, 95, 551, 4833, 4109, N, J, 2627, z, 9175, 281, U, 2585, 6525