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: 6, 17, ['3187', '5905', 'r', 'f', 'y', 'R', '391', 'i', '323', 'e', '1373', 'b', 'H', '7853', '3303', '7155', 'S']

S, 7155, 3303, 7853, H, b, 1373, e, 323, i, 391, R