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, 15, ['s', 'Y', 'y', '3167', '2109', 'M', '3395', '1071', '8023', 'M', '4909', 'I', '5071', 'J', '6659', '8315', 'y', 'R', 'E', '1953', 'u', 'j', '5367', 'u', 'c', '4509', '1685']

6659, J, 5071, I, 4909, M, 8023, 1071, 3395