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.
--------
Question: 1, 2, ['5791', 'K']

Answer: K, 5791


Question: 1, 7, ['4169', '8099', '4021', '5341', 'q', '619', 'j', 'X', '9369', 'z', '6265', 'S', 'M', '1783']

Answer: j, 619, q, 5341, 4021, 8099, 4169


Question: 20, 24, ['8947', 'D', 'w', 'r', 'D', '1275', 'N', 'K', '9505', '3733', '7199', 'q', 'F', '8153', '9223', 'i', 'g', '8999', 'e', 'j', '9649', '4977', '8703', '563', 'y', '7703', '6595', '7369', 'G', '5697']

Answer:
563, 8703, 4977, 9649, j