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: 4, 22, ['7877', '1341', 'X', '3433', '4865', '3745', '2619', '6871', '8985', '7049', 'e', '1529', 'k', '5209', 'z', '1151', '1467', 'H', 'p', '3655', 'I', '3555', '1827']

3555, I, 3655, p, H, 1467, 1151, z, 5209, k, 1529, e, 7049, 8985, 6871, 2619, 3745, 4865, 3433