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, 18, ['7645', 'M', '6139', '8641', 'U', '8667', '5719', '1349', 'f', '2267', '5709', '9811', '1529', 'B', 'A', 'z', '1125', '9925', 'H', '6599', 'H', 'M', 'i', '4111', '9825', 'x', 'z', 'M', 'I', 'u']

f2267570998111529BAz11259925