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: 14, 21, ['g', 'i', '3877', 'u', '8795', '7883', 'q', 'o', 'q', 'c', '4845', '1131', 'k', '2045', 'M', 'I', '9859', 'a', '5973', 'Z', '7129', '8107', '6967', 't', 'K', '5291', '4329', '5733']

2045MI9859a5973Z7129