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: 1, 16, ['3163', 'O', '7885', '11', '1665', 'y', 'J', '3509', 'z', '3669', '433', 'E', 'O', '3121', '2243', 'g', '2977', 'D']

g, 2243, 3121, O, E, 433, 3669, z, 3509, J, y, 1665, 11, 7885, O, 3163