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: 9, 16, ['1183', '1665', 'p', '9115', 'Q', '4655', '9011', '2991', 'Z', 'r', '8099', 'r', '5671', '775', 'M', '8889', 'N', '6177', 'y', '61', 'Q', '417', '7609', 'V', '3611', 'P', '1745']

Zr8099r5671775M8889