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, 9, ['6917', 'b', 'k', '6905', 'k', '9441', '8897', 'j', '7845', 'P', '8621', '5943', 'l', 'V', '3571', 'U', '7301', 'P', 'C', 'F']

k6905k94418897j7845