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, ['2215', 'N', 'h', '9945', 'k', 'N', 'l', '2705', 'v', '2149', 'B', 'O', 'O', 'F', 'p', '7961', 'k', '5067', '5749', '4695', '1893', 'R', '5115', '2335', '9491', '5987', 'I']

h9945kNl2705v2149BOOFp7961k