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, 16, ['Z', 'M', '6889', 'e', '3483', '9953', '9337', '2425', '1957', 'U', '3539', 'c', 'X', 'R', 'V', '2173', 'K', '8701', '8813', '4701', 'B', '9301', '3307', '3917', '4597', 'o']

ZM6889e34839953933724251957U3539cXRV2173