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, 3, ['Y', 'k', 'P', '1517', 'z', '8727', 'U']

SOLUTION: PkY

PROBLEM: 3, 14, ['G', '4951', 'P', '7675', '6463', 'I', '4551', '3265', 'r', 'e', 'u', 'I', '1535', '1501', 'u', 'x', '5897', 'C', 'k', '5473', '2233', 'G', '2657', '5697', 'L', 'c', 'J']

SOLUTION: 15011535Iuer32654551I64637675P

PROBLEM: 4, 6, ['t', '9225', '3403', 'e', '5785', 'q', '7361', 'H', 'X', 'G', '3769']

SOLUTION:
q5785e