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, 9, ['2719', 'i', '4557', '4545', '2551', '2267', '1509', '3241', '6687', 'X', '9149', 'r', '9567', 'h', '6647', '4155', 'e', '8009', '1335', 'a', 'F', '4657', '6971', 'U', 'K']

25512267150932416687