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: 2, 19, ['1257', 't', '7171', 'd', 'O', 'a', '7877', 'P', '5799', '9307', '4993', 'p', 'a', '9853', 'D', '3511', '9587', '6655', '3629']

3629, 6655, 9587, 3511, D, 9853, a, p, 4993, 9307, 5799, P, 7877, a, O, d, 7171, t