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: 1, 20, ['5931', '4147', 'x', '4903', 'F', 'j', 'd', 'a', 'M', 'b', 's', '563', '6289', '7757', 'o', 'V', 'N', '745', 'F', '1125', '3751', '2033', '7819', '2297', '5409', 'H', '7507', 'x']

59314147x4903FjdaMbs56362897757oVN745F1125