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, 15, ['O', '6479', 's', '955', 'r', '1585', '5049', 'd', '203', '949', 'R', '2287', 'w', 'd', '2563', '2731', '5751', '9177', '1075', '9059', 'T']

2563, d, w, 2287, R, 949, 203, d, 5049, 1585