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: 12, 22, ['1977', 'f', 'g', '3301', '8049', '1887', '2707', 'B', '9023', 't', '1909', 'l', 'S', '9183', '9385', 'F', 'X', '619', '2273', 'H', 'e', '9393', 'r', '7719']

lS91839385FX6192273He9393