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: 3, 18, ['s', 'L', '9243', '9087', 'F', 'r', 'J', 'Z', '6141', '6951', 'l', '2253', 'X', '6729', '2547', 'w', '5985', '3117']

92439087FrJZ61416951l2253X67292547w59853117