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 find all elements of A from the ith element to the jth element, reverse the order in which they occur, and then concatenate them to output the resultant string. 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. Perform the operations in order, i.e., do not concatenate the elements and then reverse the string.
--------
Question: 10, 10, ['u', 'b', 'B', '6579', 'X', 'E', 'e', '7989', '7839', '367']

Answer: 367


Question: 1, 1, ['P', '9387', 'r', 'I', '8965', 'J', '7595', 'W', 'n', 'C', 'y', '1877', 'b', 'Z']

Answer: P


Question: 10, 16, ['5261', 'e', 'S', 'Q', 'C', '6087', '3535', 'I', '709', '3639', 'w', 'a', '3203', 'D', 'h', '8869', '8315', 'D', 'Y']

Answer:
8869hD3203aw3639