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, 19, ['2735', '5939', 'u', '5193', 'a', '6733', '9523', 'n', 'w', 'O', 'W', '9223', '3063', '8375', 'S', 'w', '2307', '2855', '2247', '827', 'A', 'U', 'S', 'a', 'W', '6563', 'E', '4209']

28552247