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.

2, 5, ['n', '9985', 'x', 'h', '2697', 'c']
9985xh2697

1, 1, ['e', '7739', '8007']
e

2, 9, ['7041', '3627', 'Y', 'l', '3689', 'n', '8875', '1373', 'a', '1539', 'h', 'p', '9629', 'x', '2343', '9341', 'G', 'R', 'l', '9851', '5605', 'B']

3627Yl3689n88751373a