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, 17, ['z', '8739', '4005', '99', '6507', '2965', '7101', '9459', 'Y', '6697', '8539', '8707', 'B', 'E', '4857', '2735', 'C', 'Q', '8371', 'u']

z87394005996507296571019459Y669785398707BE48572735C