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: 8, 17, ['6887', 'l', '5689', 'Z', '3241', '5739', 'm', '87', '6421', 'V', '9889', '4539', '5493', 'b', '7813', '4563', 'K', '9143', '7555', '7659', 's', 'a', 'E']

876421V988945395493b78134563K