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: 6, 24, ['6143', '8953', '3251', '9745', 'G', 'W', 'c', 'M', '8213', 'B', 'm', '1065', 'r', 'F', 'Z', '6215', 'D', 'b', 'm', '8121', 'r', '3355', 'I', '9791', '7319']

WcM8213Bm1065rFZ6215Dbm8121r3355I9791