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 concatenate all elements of A from the ith element to the jth element, and print 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.
--------
Question: 3, 5, ['f', '3797', 'm', 'Q', 'g', '1147']

Answer: mQg


Question: 1, 1, ['S', '5881']

Answer: S


Question: 2, 12, ['2959', 'd', 'b', '6501', '3317', 'B', '8939', 'U', 'G', '4233', 'F', '2721', '3515', '1917', 'f', 'W', 'i', '7669', 'd', 'X', 'P', 'v', 'd', '1247', 'z', 'M', '2453', '3515']

Answer:
db65013317B8939UG4233F2721