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: 22, 25, ['u', '7687', 'q', 'v', '1281', 'Z', 'K', 'I', 'r', '6437', '2153', '3635', '8751', 'M', 'y', '7259', '8457', 'B', '6757', 'w', '9643', 'P', 'M', '6181', 'M', '3051', 'F', 'P', '8521']

M, 6181, M, P