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: 2, 12, ['3305', '5909', 'd', '2369', 'n', '4875', '8121', '2943', 'v', 'U', 'D', '3465', 'u', '1043', 'm', '4777', '6247', 'x', '5987', '73', 'M', 'h', '6085', 'O', '5433', 'I', 'Z']

5909d2369n487581212943vUD3465