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: 14, 18, ['i', 'm', 'v', '7021', 'P', '1569', 'G', '5761', '7325', '7577', '3361', 'f', 'i', 'c', '5375', 't', '7731', 'P', '9311', 'k', '6891', '9619', '2187', '9465', 'c', '2097', 'U']

c5375t7731P