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: 20, 26, ['5947', '5273', 'g', 'j', '3705', 'K', '1807', 'c', 'r', 'k', 'n', '953', 'w', 'D', '8967', '7225', 'Y', '3021', 'k', '8413', 'v', '3131', '4669', 'Y', '8777', '5519', '7771', '2049']

8413v31314669Y87775519