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: 2, 4, ['1751', '8755', 'p', 'k', '8177', '3087', 'T', '8495', 'G', '2089', '8811', '3295', '3157', 'o', 'F', 'w', '6933', '5097']

SOLUTION: kp8755

PROBLEM: 2, 10, ['H', 'k', 'T', '5261', 'h', 'o', '7563', '2021', '5989', '3451', 'n', '8751', '5545', 'j']

SOLUTION: 3451598920217563oh5261Tk

PROBLEM: 4, 16, ['7279', 'F', 'Z', 'K', '4977', 'C', 'o', '4617', 'B', 'l', '6707', 'P', 'A', '9947', '5509', '3111', '9145', '7309', '2059', '6017', 'o']

SOLUTION:
311155099947AP6707lB4617oC4977K