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: 7, 21, ['T', '2863', '7481', 'k', '8017', '6231', 'i', '9493', 'i', 'q', 'P', 'j', 'U', '1749', 'N', 'k', 'q', 'E', 'a', 'E', '1557', '507', '2441', 'C', '8217', 'T', '87', '8547']

i9493iqPjU1749NkqEaE1557