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: 1, 21, ['5075', '8587', '7289', 'm', 'M', '7705', 'k', 'F', 'X', '6547', 's', 'h', '1387', '4595', 'I', '1677', '9791', 'q', 't', 'p', 'L', '2069', 'u', '191', 'M', '4213']

507585877289mM7705kFX6547sh13874595I16779791qtpL