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, 14, ['A', 'h', '2439', '4905', '2761', '2987', 'b', 'n', '2373', '8801', '7275', 'l', 'Z', '6891', 'Q', 'c', '8531', '8215']

27612987bn237388017275lZ6891