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, 3, ['8543', '3395', 'J', '1569', '3547', '4241', 'j', '1937']
3395J

7, 7, ['3713', 'Y', 'Q', 't', 'a', '1235', 'f', '1953', 'B', '2695', 'I', '2265']
f

1, 2, ['C', '5787', 'l']

C5787