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.

1, 1, ['S', '5881']
S

1, 4, ['6945', 'D', 'a', 's', 'q', 'M']
6945Das

10, 29, ['x', 'z', 'Q', 'a', '3075', '4377', 'l', '3059', '6657', 'n', 'j', 'w', 'r', 'r', 'G', '8927', 'e', '2433', 'Z', '1469', 'h', '2353', '5895', '5131', '5573', '5439', '2217', '1839', '6133', 'a']

njwrrG8927e2433Z1469h23535895513155735439221718396133