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: 17, 29, ['2435', 'g', 'C', 'C', '885', '2581', '7117', '7235', 'a', '9699', '9859', '5745', '7863', 'n', '7357', '3497', 'Y', '1701', '567', '6201', 'x', 'C', 'x', '2891', '1501', 'd', '4541', 's', 'U']

Y17015676201xCx28911501d4541sU