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: 10, 23, ['5989', '7979', '6157', 'J', '7689', '6115', 's', 'u', '871', '3615', '3213', '5913', '3487', 'c', '581', '527', 'O', '5791', 'U', '6881', '3127', '1555', '345', '3641', 'E']

3615321359133487c581527O5791U688131271555345