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, 30, ['i', 'u', 'x', 'e', 'S', '4059', '2271', 'f', '387', 'e', 'b', '1275', 'K', '4743', 'E', 'I', 'u', 'u', 'x', 'd', 'j', 'w', 'Z', '1237', '9765', '8971', 'm', '945', 'K', 'U']

U, K, 945, m, 8971, 9765, 1237, Z, w, j, d, x, u, u, I, E, 4743, K, 1275, b, e, 387, f, 2271, 4059, S