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.

4, 6, ['s', 'o', '5677', '5881', '6197', '8349']
588161978349

2, 2, ['i', '941', 'g', '5495', 'U']
941

9, 19, ['w', 'a', 'a', '5541', '4407', 'b', 'c', '8819', '8325', '1643', 'W', 'c', '7205', 'L', '1373', 'M', '6245', '9745', 'o', 'h']

83251643Wc7205L1373M62459745o