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, 19, ['m', '2695', '3155', 'Z', '8729', 'm', 'a', 'I', 'C', 'L', '9485', '1281', 'Q', 'g', 'd', '8767', 'm', 'u', '3591', 'G', '727', '5219', '4213', '9251', '8967', 'P']

8767mu3591