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: 2, 4, ['O', '3315', '5639', 'e', '6549', '6395', 'V', '7611', 'M', '4209', '8213', '8447', '7229', '5145', 'C', 'o', '8467', 'w', '891', 'V', 'g', 's']

A: 33155639e
****
Q: 17, 19, ['u', 'L', '8085', '221', '1579', '5653', '6393', 'A', '9591', 'I', 'u', '5981', '9555', 'F', '521', 'i', 'g', '4091', 'A', 'w', 'Z']

A:
g4091A
****