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: 16, 20, ['d', 's', '2557', 'N', 'Z', '8931', '765', '1977', 'h', 'h', '579', '7989', '5015', 'i', '5149', '5837', 'n', 'w', '7915', '6873', '9183', '7861', 'u', 'V', 'Z', 'w', 'r', '369', '1325']

5837nw79156873