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: 8, 10, ['l', '7437', '8763', 'i', '3635', 'O', '6275', '1121', 'h', 'Y']

SOLUTION: Yh1121

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: 1, 2, ['P', 'C', '37', 'f', '6541', '3303']

SOLUTION:
CP