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, 8, ['L', 'Z', 'Y', 'H', 's', '3315', 'a', 'C', 's', '4309', '279', 'e', 'Z', 'j', '1739', '5737', '2303', 'Q', 'e', 'i', '2099', '2975', '3221', 'w', '9165', '7903', 'M']

ZYHs3315aC