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: 9, 17, ['t', '3867', '633', '5747', 'p', 'U', 'p', '9047', '9153', '2327', '8497', '6045', 'z', 'I', '5229', '8725', '7873', 'B', '5913', 'O', '213', 'I']

9153232784976045zI522987257873