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: 12, 21, ['z', '837', 'U', 't', '3697', '6155', 'B', 'v', 'a', 'H', 'z', '2567', 'o', 'H', 'a', '3033', 'x', '499', 'T', '6709', 'J', 'b', 'P', '2599', '9767', 'L', 'M', '3841']

J, 6709, T, 499, x, 3033, a, H, o, 2567