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, ['8259', 'q', '5791', 'k', '4581', '3813', '3621', '5221', '9075', '2033', 'E', '9319', 'B', '5917', 'x', 'U', 'c', '3815', '1569', 'I', 'N', '5563', 'x', '7773', 'Q']

8259q5791k458138133621522190752033E9319B5917xUc3815