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: 4, 17, ['q', '6715', '451', '8195', 'i', '9071', 'z', 'R', '5', '1511', 'j', 'r', '5707', '6951', '9165', 'c', '5117']

Answer: 5117c916569515707rj15115Rz9071i8195


Question: 2, 15, ['4879', 'Z', 'o', 'T', '7235', 'i', 'n', '1291', '3425', 'L', '8661', 'M', 'o', '6529', 'o', 'K', 'W', 'R']

Answer: o6529oM8661L34251291ni7235ToZ


Question: 2, 12, ['9625', '8273', 'p', '7261', '5555', '917', '3841', '869', '1899', 'P', 'X', 'N', '5451', 'O', 'N']

Answer:
NXP1899869384191755557261p8273