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.

[Q]: 3, 5, ['f', '3797', 'm', 'Q', 'g', '1147']
[A]: mQg


[Q]: 4, 7, ['h', '1133', 'n', 'Y', 'X', 'z', 'l']
[A]: YXzl


[Q]: 5, 19, ['6969', 'i', 'I', 'E', '505', 'f', '7663', 'U', 'l', '9275', '6931', '7803', 'W', '7593', '5825', 'f', '6571', 'w', 'O', '2639', '4987', 'p', '633', '8781', 'h', '4687', 'H', 'H']
[A]:
505f7663Ul927569317803W75935825f6571wO