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: 18, 21, ['307', '9793', '9959', 'U', '7017', 'k', '1321', '2983', '7055', '8813', '531', '5805', 'n', 'Y', 'B', 'x', 'm', '8073', 'L', '8813', 'b', '181', 'I', 'D', 'n', '1419', 'o', '4909', '9771', '2061']

8073L8813b