TASK DEFINITION: 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.
PROBLEM: 6, 12, ['g', '9719', '9225', '2203', 'o', '155', 'R', '4889', 'i', '4765', 'D', '3459', '5075', 'O', '4077', 'H', '8197', '3725', '4917', 'd', 'X', 'G', '8447', 'K', '2459']

SOLUTION: 3459D4765i4889R155

PROBLEM: 2, 7, ['j', '7173', 'D', '6745', '9469', '3259', '5885', '9507', 'U', '8735', 'C', 'O', '2055', 'm', '2265', '9445', '6445']

SOLUTION: 5885325994696745D7173

PROBLEM: 5, 17, ['P', 'Y', '2935', 'a', 'Q', 'h', '5197', '8377', '1421', 'i', 'J', '2563', 'p', 'H', 'f', '1783', '1391', 'U', '7287', '6933', '2203']

SOLUTION:
13911783fHp2563Ji142183775197hQ