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: 11, 19, ['K', '5465', '5787', 'd', '2797', 'a', 'T', '9281', '8709', 'w', '7369', 'N', '2371', 'Z', 'Q', '231', 'k', 'S', 'r']

7369N2371ZQ231kSr