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: 6, 15, ['8687', 'O', 's', '4907', '6487', '1861', '4781', '9213', '5925', '2081', '5313', '7719', '8967', '7473', '9921', 'K', 'y', 'Q']

1861478192135925208153137719896774739921