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: 4, 13, ['5109', '8805', 'z', 'v', 'P', '8583', '9607', 'n', '359', '4981', 'i', '3133', '9847', 'r', '5189', '8581', '3763', 'R', '2217', 'D', '8443', 'R', 'W', 'E', '8023', '8243', '4671', '7431']

vP85839607n3594981i31339847