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, 13, ['P', 'U', 'k', '6209', 'y', 'P', '273', '3377', '5205', 'p', '1079', 'O', '2875', '1679', 'c']

SOLUTION: 2875O1079p52053377273Py6209kU

PROBLEM: 14, 19, ['z', '1543', 'b', 'd', '3025', '4649', '1171', '3355', '307', 'u', 'v', '1651', 'U', '9105', 'I', 'p', 'L', 'N', '9843', 'm']

SOLUTION: 9843NLpI9105

PROBLEM: 14, 14, ['D', 'a', '159', 'j', 'Z', '7987', 'K', '4955', '3971', '1557', '4977', 'G', '117', '5711']

SOLUTION:
5711