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: 16, 18, ['373', 'q', '5873', 'R', 'Y', 'O', 'r', 'U', '5249', '3393', '355', '931', '1621', '4269', 'M', 'Q', '1051', '9755', '5463', '9821', 'x', 'y', 'j', 'W', '6795', 'X', 'H', 'G', 'u']

A: Q10519755
****
Q: 3, 6, ['3619', 't', '7823', 'F', 'c', '7723', '6133', '1819', '955', '8363', 'u', '5461', '529', 'c', '3667', 'a', '7681', 'G', 'R', '9383', 'f', '971', 'W', '9153']

A: 7823Fc7723
****
Q: 10, 17, ['9507', 'i', 'p', '7745', '9519', 'a', '783', '1443', '5611', 'R', '1673', '4343', '6417', '8215', 'Y', 'd', 'W', 'w', '9067']

A:
R1673434364178215YdW
****