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, 23, ['s', '6671', 'q', '5995', '1927', '1189', 'F', '5269', 'r', 'U', 'V', '1437', '4785', 'u', '5115', '9457', '6583', '4785', 'b', '2871', 'F', 'F', '8299', '7967', 'V', 'F', 'd', 'Q', '5387', '4691']

8299, F, F, 2871, b, 4785, 6583, 9457, 5115, u, 4785, 1437, V, U, r, 5269, F, 1189, 1927