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: 3, 9, ['X', 'M', '2111', 'V', 'K', '4989', 'p', 'e', '9125']

A: 2111VK4989pe9125
****
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, 3, ['3429', 'W', '325', '7289']

A:
W325
****