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, 19, ['2147', '4353', '1529', '5349', 'd', '4211', 's', '6425', 'L', 'I', '7203', '7907', '7723', '4507', '1605', 's', '2265', '4289', '4215', '6627', 'r', 'o', 'Y', '565']

d4211s6425LI72037907772345071605s226542894215