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: 7, 17, ['o', 'S', '1185', '2707', '5661', 'l', '389', '8941', '5085', 'X', 'I', 'Z', '6737', 'H', '9527', 'a', '3479', 'p', 'd', '875', '7651', '4415', '1021', 'N', '7897', '8441', 'L', 'm', 'Y', '8971']

3479, a, 9527, H, 6737, Z, I, X, 5085, 8941, 389