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, 23, ['8763', 'M', '583', '3623', '9509', '6961', 'n', '1265', '2977', '1411', '9743', '5217', 'i', '6301', 'f', 'm', 'J', 'N', 'X', '4685', '9531', '1011', 'S', '8537', 'J', '1059', 'u', 'X', '9061']

95096961n12652977141197435217i6301fmJNX468595311011S