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: 4, 10, ['p', 'W', '7061', 'J', 'O', '1553', 't', '1859', '5469', '6269', '1569', 's', '1223', 'f', 'U', 'O', '4235', 'J', '9575', 'a', '59', '5691', 't', '3855', '6501', '2905', 'w', '8447']

JO1553t185954696269