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.

2, 18, ['6685', 'g', 't', 'f', '2203', 'F', '577', '961', 'Y', '2013', 'C', '899', '9825', 'd', '9741', 'P', 'u', 'b', 'P', 'V', 's', 'x', 'p', '8489', '2553', '123', 'A', '8371']
gtf2203F577961Y2013C8999825d9741Pub

3, 5, ['951', '6733', 'g', '1119', 'U', '4025']
g1119U

4, 5, ['6885', '4427', '6847', 'A', 'E', 'o']

AE