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: 2, 21, ['K', 'f', 'q', 'e', '4777', '769', '6433', '1203', '451', 'J', '581', '1025', '7187', '75', '2929', '9805', 'C', 'X', 'v', '6507', '9405', 's', '4665', '7861', '3309', 'K']

fqe477776964331203451J581102571877529299805CXv65079405