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: 7, 7, ['Y', 't', '5729', 'R', 'v', '9237', '5331', 'r', 'J']

A: 5331
****
Q: 12, 19, ['p', '8105', 'c', '8759', '813', 'L', '1451', 'E', 'M', 'N', 'n', '633', '2401', 'p', 'B', 'H', 'G', '2577', 'F', '1045', '8929', '9383']

A: 6332401pBHG2577F
****
Q: 4, 7, ['8125', '6995', '6733', '4053', '8169', '1173', 'v', '603', 'x', 'R']

A:
405381691173v
****