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.

Q: 3, 4, ['u', '5391', '8161', '4629', '7159']

A: 81614629
****
Q: 5, 6, ['5153', 'B', '2761', 'f', 'h', 'x', 'L', '383', 'H', '8921', '6251']

A: hx
****
Q: 5, 16, ['P', '6993', '1081', 'F', 'y', '3695', '6963', 'X', 'v', 'z', 's', '3797', 'C', '5365', 'y', '4107', '3103', '4183', 'v', '9721', '6995', 'b', 'K', 'Q', '2987', 'u', '9505', 'X', 'x', 'A']

A:
y36956963Xvzs3797C5365y4107
****