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, 18, ['5391', '9749', 'o', '1979', 'U', '7755', 'X', '1253', 'I', 'y', '8063', 'd', '3837', '5591', 'n', 'E', '1341', '6579', 'P', '1119']

6579, 1341, E, n, 5591, 3837, d, 8063, y, I, 1253, X, 7755