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: 3, 18, ['Y', 'r', '7339', 'F', 's', 'K', '5457', 'K', '2509', '7491', 't', '4683', '8671', '6273', '6451', '9673', 'L', 'y', '421', 'i', 'u', 'w', 'b', '9193', 'B', 't', '8827', 'Z', 'O']

7339FsK5457K25097491t46838671627364519673Ly