You will be given a definition of a task first, then some input of the task.
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.

17, 18, ['2961', 'I', 'Z', '9343', '5893', '7835', '311', '5889', '2031', '7107', '3723', '6545', '1295', '6709', '5993', 'J', 'B', 'g', '6261', 'X', '6781', '3825', 'j', 'C', '7881', 'a', 'z', 'x', '7173', 'z']
Output:
Bg