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, 18, ['1493', 'r', 'J', '7693', '8019', 'M', '1353', '5725', 'o', '3177', '5841', '6663', '4103', '109', 'R', '3889', 'c', 'X', '6753', '9405', '2663', '1215']

1493rJ76938019M13535725o3177584166634103109R3889cX