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: 3, 4, ['1157', '7107', 'G', 'f', 'd', 'D', 'E', 'j', '2217', 'Z', '1029', 'c', 'P', '789', 'A', '8755', 'g', '7171', '8393', '7485', 'M', 'w', '3369', 'l', '375', 'O', '5525', '729']

Gf