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, ['2161', '4113', 'w', 'M', '9343', 'G', 'E', '8747', '3269', 'Z', 'R', 'O', 'T', '549', '2941', 's', 'A', 'a', '2249', 'K', 'H', 'Q', 'U', '61', 'u']

61, U, Q, H, K, 2249, a, A, s, 2941, 549, T, O, R, Z, 3269, 8747, E, G, 9343