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: 4, 16, ['5875', '3981', 'r', '6205', 'U', 'O', 'N', 'f', '8129', 'I', '9731', '9099', 'u', '9937', '1189', '5921', '8727', '2569', 'e', 'V', '3053', 'e', '1573', '901', '1017']

6205UONf8129I97319099u993711895921