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: 6, 21, ['H', '5103', '71', 'G', '6405', '3695', '7973', 'd', '277', '9485', 's', 'H', '9473', '1527', '297', '9803', 'p', 'X', 'c', '5975', '1717', '3983', '8325', 't', '5131']

36957973d2779485sH947315272979803pXc59751717