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, 18, ['K', 's', '8601', 'P', 'N', '5729', 'R', 'B', 't', 't', '311', 'C', '1377', 'm', 'M', '6859', 'A', '3499', 'e', '3387', 'I', 'J', '7043', 'U', '4741', '6405', 's', '1067']

s8601PN5729RBtt311C1377mM6859A3499