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.

Q: 3, 28, ['6187', 'x', 'P', 's', 'N', '685', '521', 's', '7233', '363', '3367', '5561', 'u', '6971', '8389', '511', '7835', 'y', '5955', 'r', 'i', '7519', '7823', '5181', '3491', 'H', 'L', '1621']

A: 1621, L, H, 3491, 5181, 7823, 7519, i, r, 5955, y, 7835, 511, 8389, 6971, u, 5561, 3367, 363, 7233, s, 521, 685, N, s, P
****
Q: 2, 4, ['7031', '4487', '2551', '611']

A: 611, 2551, 4487
****
Q: 18, 25, ['6047', 'F', '8865', 'f', '5921', '5493', 'l', 'x', 'j', 'K', 'l', '6197', '7021', '6055', '6525', '7463', 'q', '9989', '77', '9451', 'P', '9347', 'o', 'M', '3267', '4511', 'P', 'R']

A:
3267, M, o, 9347, P, 9451, 77, 9989
****