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: 22, 27, ['w', '2527', 'N', '8763', '5813', '7129', '6341', 'B', '5459', 'l', '9657', 'n', 'C', '1923', 'Q', '2065', 'h', '7161', 'A', '7541', '67', 'L', '8307', 'n', 'n', 'j', 'X', '5507', '8233']

A: L8307nnjX
****
Q: 1, 2, ['i', '8137', '603', 'R', '8825', 'g']

A: i8137
****
Q: 7, 13, ['F', 'K', '4279', 'R', 'K', '8067', 'Y', 'l', 'Z', '837', 'n', 'A', 'Q']

A:
YlZ837nAQ
****