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, ['N', '2087', 'R', 'h', 'm', '8803', '2231', 's', '3041', '79', '787', '2615', '5449', '3695', 'j', 'S', 'e', 'g', '3877', '951', 'z', '6997', '6961', '6835', 'R']

261554493695jSeg3877951z69976961