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, 17, ['D', '3667', '1947', '8823', 'l', 'u', '667', 'o', 'u', '8659', 's', '3707', '5967', 'h', 'j', '1197', 'a', '1599', 'U', '3335', '7257', 'S', '4167', 'g', 'H', '9515', '3273']

a, 1197, j, h, 5967, 3707, s, 8659, u, o, 667, u, l, 8823, 1947, 3667, D