Instructions: 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: 9, 20, ['2801', 'q', 'U', '4353', '5661', '7263', 'n', '4635', '9597', '399', 'j', '4045', '4407', 'N', 'D', 'V', 'x', '7009', '9567', '5627', '6865', 'h', '2435', 'M', '1107']
Output:
9597399j40454407NDVx700995675627