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: 13, 23, ['h', '6791', '8795', 'S', 'w', '3931', '593', '6173', 's', '6589', 'Z', 'u', 'i', '9997', '1129', '5079', '6037', 'J', 'U', '2047', '6187', 's', 'C', '3779', '9443', 'p', '6895', '9489', '2485', 'f']

i9997112950796037JU20476187sC