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: 9, 21, ['F', '8703', '6103', 'd', 'f', 'Q', '7197', 'j', '419', '5665', 'I', 'H', '9571', 'Q', '2003', 'i', '6765', '1563', '3355', '371', '8401', 'j']

4195665IH9571Q2003i6765156333553718401