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: 6, 21, ['5261', '9687', '915', '1683', '7267', '3385', 'l', 'K', '2067', '2691', '1905', 'o', 'A', 'q', '6929', 'c', '6853', 'R', '5129', 'G', 'M', '979', 'f', 'J']

3385lK206726911905oAq6929c6853R5129GM