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: 1, 20, ['2165', 'e', '9873', 'J', '941', 'y', 'j', '1473', 'g', '8637', '5857', 'z', 'K', '8131', '4817', 'l', '6989', '995', 'e', '2957', '9809', 'a']
Output:
2165e9873J941yj1473g86375857zK81314817l6989995e2957