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: 6, 25, ['6015', '5139', 'q', '9439', '8419', '8509', 'v', 'i', '5431', '5747', 'm', 'X', '4881', 'B', '2509', '7823', 'r', '4433', '7799', '5867', '2089', '9547', 'X', 'T', '6355', 'F']

A: 8509vi54315747mX4881B25097823r44337799586720899547XT6355
****
Q: 6, 16, ['9967', '2959', 'U', '75', 'd', 'f', 'p', '1077', '4017', 'r', 'Z', '1469', '3795', '8497', '2769', '7569', 'r', '1323', '4505', '6989', '7765', '7523', 'O']

A: fp10774017rZ14693795849727697569
****
Q: 10, 12, ['1821', '663', 'w', '6961', 'R', 'e', '1137', '2003', '5241', 'p', 'T', 'r']

A:
pTr
****