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: 2, 3, ['7247', 'Q', '8849', 'i', '9733', '8001', 'h', '3157', '519', 's', '3573', 'J', '8839', '823', '2467', '3203', 'W', 'E']

Q8849