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: 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