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.

Example Input: 1, 5, ['3467', 'R', '7973', 'n', 'i', 'T', '7517']
Example Output: 3467R7973ni

Example Input: 2, 6, ['k', 'o', 'I', '6301', '8869', 'J', '3333', '4935']
Example Output: oI63018869J

Example Input: 12, 23, ['1245', 'g', 'h', '3573', 'f', 'R', 'q', 'C', '7613', 'h', '5521', '6389', '9777', 'j', 'S', '9701', 'n', 'b', '893', 'P', 'q', 'a', 'X', 'x', '2685', 'b', 'i']
Example Output:
63899777jS9701nb893PqaX