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, 18, ['g', '2309', '3207', 'b', 'a', '1265', '3401', '1737', 'n', '6623', '5867', 'I', '103', 'Z', 'h', '6571', '7201', 'V', '6827', 'Z', 'X', '3077', '5813']

23093207ba126534011737n66235867I103Zh65717201V