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, ['n', 'G', '3863', 'y', 'l', '5817', '85', '4677', 'h', '1059', 'P', '6313', 'J', 'J', '7821', 'E', 'c', 'w', 'j', 'z', 'q', '4855', 'r', '9369', 'h', 'D', 'v', '5327']

5817854677h1059P6313JJ7821