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, ['q', 'B', 'i', '8163', 'R', 'e', '8553', '6845', '891', '665', '9697', 'J', '7925', 'f', '5881', '9655', '1269', 'U', 'f', '9059', '6071', 'S', 'a', '2697', 'k', 'p', '9697', 'U', 'K']

1269, 9655, 5881, f, 7925, J, 9697, 665, 891, 6845, 8553, e, R, 8163