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: 4, 17, ['C', '6785', '9427', '2115', 'Z', '2489', 'Y', '9741', '5765', 'U', '4797', 'D', '4789', 'P', 'r', 't', '9163', '713', '9885', '3071', 'U', 'w']

9163, t, r, P, 4789, D, 4797, U, 5765, 9741, Y, 2489, Z, 2115