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: 10, 19, ['m', 'a', '3817', '573', '4321', '4719', 'm', '9289', '5263', 'p', 'a', '6817', '2951', '9841', '4645', 'h', 'i', 'z', 'G', 'U', '5011', '5413', '2065', '2973', '4237', 'w', '2941', '6375']

pa6817295198414645hizG