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, ['m', 'g', 'Y', 'B', '7603', 'c', 'A', '7061', 'L', '8837', 'R', 'A', '1061', '7475', 'Y', '457', '4189', 'P', 't', 'B', '5907', '797', '9263', '963', '673']

B7603cA7061L8837