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: 5, 22, ['o', 's', '4885', 't', '7805', 'w', 'F', '9289', '3649', '4383', '4489', '3623', 'o', 'Z', 'Y', '9355', 't', 'Q', 'D', 'H', '8751', '4407', 'y', 'y', 'K', '8671', '6939']

4407, 8751, H, D, Q, t, 9355, Y, Z, o, 3623, 4489, 4383, 3649, 9289, F, w, 7805