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: 3, 17, ['5999', '1471', 'D', '4647', '8073', 'M', '8081', '689', 'J', 'h', '3059', 'N', '2623', 'J', '8955', 'e', '9801', '7325']

D46478073M8081689Jh3059N2623J8955e9801