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: 4, 12, ['B', 'k', 'O', '4491', '6485', '6147', '965', '6015', 'O', 'p', '6179', 'W', '4385', 'S', '1435', 'j', '6059', '9371', '5899', '5289', '8027', 'u', '8627']

4491648561479656015Op6179W