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: 1, 9, ['O', '2627', 'M', '7201', '8401', 'Y', 'H', '9125', '3767']

SOLUTION: 37679125HY84017201M2627O

PROBLEM: 4, 4, ['8943', '8643', 'z', 'P', 'q', 'v', '2799', 'm', '8201', 'e', 'j', 'r']

SOLUTION: P

PROBLEM: 19, 22, ['t', '8249', '975', 'w', 'm', '7909', '7915', 'e', '7387', '9775', 'L', '1201', '2977', 'f', '9131', '9483', 'j', 'g', 'P', 'N', '4063', '6155', '227', '991', '1397', 'K']

SOLUTION:
61554063NP