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: 9, 19, ['S', '9363', 'p', 'z', '3707', 'L', 'Y', '3545', 'Y', '2177', '3949', 'Q', '2149', 'Q', '6549', 'Y', 'n', 'A', '6195', 'V', 'L', '7487']

Y21773949Q2149Q6549YnA6195