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, ['8005', 'J', 'S', '2509', '6007', 'H', 'z', 'g', '797', 'Y', '1125', 'N', '9187', '187', 'w', '7959', 'd', 'C', 'z']

z, C, d, 7959, w, 187, 9187, N, 1125, Y, 797, g, z, H, 6007, 2509, S, J