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: 18, 24, ['r', 'y', '1165', '8541', '2363', 'Q', 'f', 't', 'v', 'h', '529', 'm', 's', '383', 'x', '8557', '1179', 'I', '7759', '6099', 'Z', 'G', '229', 'e']

e, 229, G, Z, 6099, 7759, I