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, 22, ['c', 'I', 'n', 'o', '6165', '5289', '3097', 'w', 'U', 'b', '3913', 'o', 'x', '3959', '6379', 'T', 'R', '6093', '5299', 'f', '7057', '2821']

52893097wUb3913ox39596379TR60935299f70572821