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: 2, 9, ['Y', '3571', '9927', '5375', 'q', 'c', '8479', 'i', 'y', 'Q', 'V', 'B', '6435', 'a', '4007', '3183', '7241', 'R', 'K', 'y', '1597', 'u', 'D', 'x', 'J', 'h', 'z', '8661']

y, i, 8479, c, q, 5375, 9927, 3571