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, 7, ['4973', '801', '1931', 'D', '1341', '9815', '8429', '6465', '3477', 'I', 'v', 'm', 'x', '4291', '5287', 'N', '6121', '9757', '1991', 'x', '4297', '4535', '7983']

49738011931D134198158429