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: 13, 26, ['5225', 'd', 'X', '7635', '3823', '2395', 'c', 'g', '9765', '6355', '3083', '4021', '9585', 'Q', '4749', 'L', '5233', 'y', 'w', '1933', '1279', '8493', '1707', 'Z', 'S', 'G']

9585Q4749L5233yw1933127984931707ZSG