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: 18, 22, ['R', '7403', 'b', 'R', 'y', '5343', '2589', '917', 'f', '5383', 'Q', 'f', '5491', 'j', 'v', '5073', '923', '5491', '6737', 't', 'S', 's']

Answer: 54916737tSs


Question: 3, 5, ['f', '3797', 'm', 'Q', 'g', '1147']

Answer: mQg


Question: 19, 29, ['5475', 'P', 'W', 'M', '6073', 'z', 'P', '717', '509', '2701', '3039', 'D', '2207', '8157', 'B', 'R', '3191', 'n', '5021', 'n', '2013', '8543', 'g', '2481', '269', '1731', '9505', 'M', '9197', '3243']

Answer:
5021n20138543g248126917319505M9197