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: 1, 18, ['3009', 'E', '6419', '953', 'q', '7237', '9421', 'l', '8591', '6543', 'M', '4849', '6159', 'o', 'p', '6037', '3867', '9085', '1495']

3009E6419953q72379421l85916543M48496159op603738679085