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, 5, ['n', '9985', 'x', 'h', '2697', 'c']

A: 9985xh2697
****
Q: 18, 22, ['8075', 'g', 'Z', 'J', 'i', '4111', 'g', '6691', 'M', '4595', 'p', 'b', 'Z', 'V', 'K', 'T', 'G', 'J', '2871', '1659', '8583', 'P', 'i', '4761', '9417', 'S', 'w']

A: J287116598583P
****
Q: 8, 17, ['S', 'Z', '4757', 'R', 'k', 'x', 'V', 'O', '9319', '4485', '1369', 'b', '1767', 'm', '6109', 'e', '4541', 'M', '9727', '3971', '8351', 't', '4347', '9935', 'l', 'H', '2525']

A:
O931944851369b1767m6109e4541
****