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: 5, 17, ['4697', '841', '4187', '857', '8805', 'z', '8953', 'G', 'b', 'y', '5895', 'a', 'O', '3889', 'x', 'r', 'd', '413', 'D', 'j', '4059', '5311', '6879', '2217', '5919', 'M', '731', '7619', '2163', 'w']

8805z8953Gby5895aO3889xrd