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: 4, 15, ['493', '873', 'A', '5191', 'M', '9949', '3027', '3633', 'E', '8037', 'U', '5273', 'g', 'G', '6167', 'a', '61', 'U', '2005', '5249', 'y', '5573']

SOLUTION: 6167Gg5273U8037E363330279949M5191

PROBLEM: 5, 18, ['u', '3123', 'g', 'r', 'M', '559', 'F', 'F', '3229', '3207', 'w', 'X', 'U', 'j', 'f', 'p', '7623', '6121', '2279', 'v']

SOLUTION: 61217623pfjUXw32073229FF559M

PROBLEM: 6, 10, ['Z', 'b', 'c', '7817', 'K', '197', '5353', '5779', '2147', 'v', 'i', '9859', '7835', '8855', '4075', '937', '6549', 'C', '5177', '4151']

SOLUTION:
v214757795353197