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: 7, 17, ['c', 'S', 'd', '1617', 'F', 'O', '5949', 'E', '4829', '7905', '4811', 'M', '3723', 'T', 'x', 'H', 'S', '2889', 'l', '4723', '8215', 'g', 'A', 'G']

5949E482979054811M3723TxHS