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: 22, 28, ['B', '5859', '8141', '8239', 'i', 'o', '3099', 'u', '5291', '7989', '7231', 'q', 'K', '1917', 'H', 'u', 'y', '6803', 't', '9103', '1399', '4281', '2233', 'g', 'i', '8887', '4345', 'j', '1779']

42812233gi88874345j