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: 2, 3, ['Q', 'X', '1639', 'm', 'o', '9075', '4261', 'd', 'T', 'F', '3063']

A: X1639
****
Q: 2, 4, ['O', '3315', '5639', 'e', '6549', '6395', 'V', '7611', 'M', '4209', '8213', '8447', '7229', '5145', 'C', 'o', '8467', 'w', '891', 'V', 'g', 's']

A: 33155639e
****
Q: 7, 12, ['X', 'e', '1663', '6805', '3619', '5783', '6851', '7595', 'k', '2503', 'R', '4043', 'F', '6697', '8523', 'd', '6537', 'Y', '181']

A:
68517595k2503R4043
****