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.

2, 4, ['Z', '7849', 'C', 'R', '1187']
R, C, 7849

1, 3, ['x', 'N', 'U', 'n', '4753']
U, N, x

1, 20, ['p', 'Y', '7363', 'I', 'X', 'o', 't', '6275', 'T', '4633', 's', '9459', '7167', '43', '9561', '2599', '3511', '4305', '7835', 'I', 'd', 'E', 'L', 'q', 'l']

I, 7835, 4305, 3511, 2599, 9561, 43, 7167, 9459, s, 4633, T, 6275, t, o, X, I, 7363, Y, p