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.

1, 2, ['31', 'Y', 'S', 'K', '251', '837']
Y, 31

15, 18, ['B', '7473', 'f', 'K', 'F', 'B', 'M', 'g', 'S', 'Q', 'h', '8247', '7217', '1899', 's', 'a', 'f', 'I', 's', 'J', 'c', '883', '5035', 'H', 'P', 'f', 'd', 'O', '563']
I, f, a, s

10, 18, ['1125', '5147', '9339', '3415', '8901', '993', '9393', 'v', '6929', 'L', '9019', '6875', 'x', '5705', 'M', '2593', 'h', '2863']

2863, h, 2593, M, 5705, x, 6875, 9019, L