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.

2, 6, ['M', '3849', '5351', '7229', '3093', 'h']
3849535172293093h

2, 7, ['4975', 'a', '4411', 'R', 'E', '1099', 'v', '8849', '4809', '9061', 'k', 'c', 'H', '1595', '803', 'b', '4975']
a4411RE1099v

8, 18, ['2439', '1273', '2119', '3909', 'l', '8235', '1703', '2465', 't', 'y', 'T', 'F', 'd', 'I', 'Y', '963', '3531', '9123', 'L', '5445', 'C', '2975']

2465tyTFdIY96335319123