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: 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']

63899777jS9701nb893PqaX