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.

1, 2, ['1271', '8049', '3425', '1377', 'r', '4725', 'j', '3583', '2769', 'T', 'j']
12718049

3, 4, ['u', '5391', '8161', '4629', '7159']
81614629

5, 6, ['H', 'o', '3987', '6203', '7575', '2881', '631', 'l']

75752881