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, 20, ['6645', 'S', '8683', '8217', '7647', '6371', '8659', '607', '9635', 'U', 'f', 'w', '2053', 'o', 'o', 'f', '4041', '3419', '3467', 'O', '9311', '313', 'b', 'v', 'Q', '1591', '8809', 'l', '5621', '705']

34193467O