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: 4, 10, ['641', '983', '2577', 'l', '1161', '7491', '4003', 'K', '731', 'C', '3761', '3817', 'z', 'W', '7589', '7075', '6581', 'r', '5505', 'Z', 'U', 'w', 'F', 'H', 'I', 'I', 'Q', '895']

l116174914003K731C