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: 8, 22, ['C', 'I', 'M', 'M', 'X', '223', 'e', '1319', 'k', '4999', 'E', 'f', 'm', '7937', 'o', '9541', 'o', 'n', 'A', 'C', '4955', 'S', 'U', 'Y', '2189', 'H', 'I', '3765', 'm']

S, 4955, C, A, n, o, 9541, o, 7937, m, f, E, 4999, k, 1319