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: 7, 19, ['K', 'e', 'r', '4181', '7785', 'i', '475', 'S', 'q', 'g', '3723', '8037', 'i', 'G', 'i', '2975', '6325', '4033', 'Z', 'p', '6833', '8897', 'P', 'k', '6309', '579']

475Sqg37238037iGi297563254033Z