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: 1, 16, ['2179', '6999', 'j', '9801', 't', 'e', 'p', '4057', 'I', 'b', '1897', '6563', 'X', '3697', 'R', '1505', '9287', 'R', '6521', 'z', 'G', '1669', 'v', 'U', 'u', '7049', '2823']

21796999j9801tep4057Ib18976563X3697R1505