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: 6, 19, ['W', 'K', 'z', '2523', '8671', 'z', 's', '1563', 'J', '4761', 'R', 'L', '9811', 'J', '7115', 'd', '8509', 'H', 'Z', 'N', '7763', '3453', 'h', 'y', 'C', 'r', 'z', '9967', '8561', '2991']

zs1563J4761RL9811J7115d8509HZ