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.

[EX Q]: 3, 5, ['C', '1583', 'c', 'j', '6725', '5119']
[EX A]: 6725, j, c

[EX Q]: 3, 5, ['z', 'X', 'M', 'x', '6115']
[EX A]: 6115, x, M

[EX Q]: 7, 8, ['2649', '3879', '3993', 'I', '8913', 'N', 'd', '277', '1835', 'h', 'f', 'r', 'c', 'Z', '6655']
[EX A]:
277, d