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, 5, ['w', 'B', 'N', 'D', 'm']

A: NDm
****
Q: 4, 4, ['r', 'P', '9883', 'Q']

A: Q
****
Q: 2, 15, ['5345', 'I', '6937', '8483', 'K', 'x', '8893', '6225', 'R', 'a', '9137', 'F', 'r', 'p', '347', 'w', '2723']

A:
I69378483Kx88936225Ra9137Frp347
****