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, ['I', 'n', 'o', '2073', 'X', 'g', 'I', 't', 'N', '5301', 'T', 'd', 'R', '3299', 'H', 'o', '8867', '5915', '1997', '6075', 'M', '3261', '2847', 'E', 'L', '7307']

gItN5301TdR3299Ho8867591519976075M