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 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.
Input: 2, 21, ['5471', '6175', '4853', '6259', '1149', 'v', 'P', '6023', 'N', '8081', 'Y', 'p', '2285', '5015', 't', '3539', 'w', '8433', 'j', '2011', 'o', '9361', 'f', 'D', 'w', 'x', '3045', 'T', '2831']

6175485362591149vP6023N8081Yp22855015t3539w8433j2011o