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: 7, 18, ['6217', '2385', '4223', 'y', '7955', 'g', '4115', 'N', 'w', '2207', '4109', '3061', 'g', '6239', 'N', '6935', '8357', 'x', 'i', '9405', '1787', 'Z', 'K', 'h', '5473', 'Y', 'w', 'M', 'h', 'f']

4115Nw220741093061g6239N69358357x