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, 21, ['5291', '9427', 'x', '5787', '7223', 'N', '9603', 'Y', 'F', 'E', '379', 'T', 'o', '4557', 'C', 'P', '2405', '2285', 'L', '7473', 'x', 'n', '6525', 'J', 'W', '3469']

N9603YFE379To4557CP24052285L7473x