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: 16, 18, ['H', '519', 'q', 'd', 'L', '4075', 'D', '4369', '3039', '1213', '2287', '6103', '5339', '4613', '8005', '4749', 'x', '2191', 'F', 'K', '1593', 'w', '1759', 'm', '2565', '5733', 'e', 'x', '1961']

4749x2191