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: 26, 27, ['Q', '7361', 'S', '1371', '4523', '1451', 'k', 'F', '8533', '9347', 'N', 'Y', '7007', '6873', 'O', '5889', 'i', '5147', 'x', 'Q', '6771', '4489', '683', '4073', '2055', '4563', '785']

4563785