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: 16, 22, ['6831', '9811', 'o', 'y', '291', 'r', '2351', '7069', 'I', 'l', 'J', '4809', '53', '6791', 'S', 'o', '8651', 'i', '4519', 'Z', '1067', '5839', '7479', '3375', '219']

SOLUTION: 58391067Z4519i8651o

PROBLEM: 1, 2, ['3745', 's']

SOLUTION: s3745

PROBLEM: 11, 12, ['7375', '9707', 'J', 'w', '239', '1435', 'U', 'o', 'a', '645', 'R', '6407', '7929', 'l', '411']

SOLUTION:
6407R