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: 3, 24, ['9585', '307', 'A', '9505', '2515', 'R', 'U', '4883', 'U', 'p', '4509', '9367', 'P', '381', '6927', '9809', 'r', 'w', 'N', '7275', '8855', '7249', 'B', 't', 'h', '2415', '3629']

A95052515RU4883Up45099367P38169279809rwN727588557249Bt