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: 8, 29, ['Q', 'k', 'R', 'x', '6843', 'a', '9897', 'i', '3117', '5271', '9729', 'v', '9361', '8767', 'o', 'N', '3755', 'F', 'L', 'q', 'V', 'Y', 'c', '6783', '2961', '3587', '9943', '1413', 'g', '3307']

i311752719729v93618767oN3755FLqVYc67832961358799431413g