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: 15, 27, ['2513', '5475', '4471', '8167', '3701', '373', 'W', '7139', 'F', 'W', 'T', '9099', '585', '6059', 'R', '1847', 'i', '3425', '8007', 'R', '1167', 'U', 'I', 'r', '2303', 'c', '2121', 'u', 'f', 'd']

R1847i34258007R1167UIr2303c2121