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: 21, 27, ['2711', '5269', '3891', '8869', 'L', 'm', '1657', '9333', 'L', '1997', '5283', 'w', 'U', '9245', 'P', '8885', '7801', 'J', '7489', '9169', 'h', '9221', '3377', '2241', '1247', '3673', 'Z', '7425', '9065', 'U']

h92213377224112473673Z