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: 18, 22, ['2399', '7783', '8689', '7563', 'w', '6933', '377', 'K', 'O', '9777', 'w', 'h', '4621', '6933', 'o', 'O', 'I', '1893', 'q', '1625', 't', '2393', 'I', 'u', '6109', 'l']

1893q1625t2393