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, 10, ['P', '8531', '6115', '4161', '4429', '569', '8581', '6081', '7303', 'p', 'z', '7307', 'a', 'A']

SOLUTION: p730360818581569

PROBLEM: 2, 8, ['613', 'z', '4591', 'p', 'e', '8373', '689', '5073', 'p', '7943', '3161', '2481', 'j', 'v', '9863', 'G', '8923', 'S', 'm', 's', '543', '3225', '7617', 'c', '7615', '3219', 'x', 'C', 'f']

SOLUTION: 50736898373ep4591z

PROBLEM: 9, 14, ['X', '2369', '2305', '2247', '3667', 'j', 'm', '7097', '115', '3757', 'g', '6065', '4021', '2241', 'v', '7439', 'G', 'H', '6543', 'p', 'Y', 'X', 'S', 'i', 'b', '2483', '5915']

SOLUTION:
224140216065g3757115