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: 5, 21, ['K', '1227', 'z', '83', 'd', 'H', 'c', '4615', '9639', 'R', 'z', '1421', '6709', 'L', 'M', 'p', 'S', '4789', '4453', '5325', 'd', '2913', '5793', 'D', 'K']

dHc46159639Rz14216709LMpS478944535325d