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, 18, ['3361', 'D', 'S', '31', '8421', '1873', 'a', 'S', '1283', 'g', '553', 'Q', 'V', '3219', 'c', '4981', '2453', '1283', '1421', 'g', '8027', '8301', '8261', 'F', '1319', '1765', 'H']

S1283g553QV3219c498124531283