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.

Example Input: 6, 7, ['9651', 'R', '2667', '3671', 'J', '7683', 'J', 'i', '737', '5721', 'W', 'z', '9307', '9651', 'p', 'R', 'w', 'J', '289', 'g', 'i', 'A', '7165', 'W']
Example Output: 7683J

Example Input: 2, 3, ['8493', '5311', 'Z', 'Q', 'y', '5777', '539', '157', '231', 'I', '9957', '8923', '8491', '1935', '6435', '4087', '2479', 'n']
Example Output: 5311Z

Example Input: 3, 5, ['9659', 'v', '6697', '8155', 'D', 'v', '3823', '7149', '5689', '6963', 'b', '2635', '447', 'b', 'n', '6771', '4797', '1287']
Example Output:
66978155D