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: 1, 6, ['P', 'i', 'b', 'e', '3967', 'L']

A: Pibe3967L
****
Q: 1, 22, ['3969', 'e', 'B', 't', 'G', '9783', 'F', '7655', '8287', 'j', 's', '4477', 'k', 'a', 'L', '419', '3975', 'X', '8205', 'f', '4253', '1477', 's']

A: 3969eBtG9783F76558287js4477kaL4193975X8205f42531477
****
Q: 3, 10, ['m', '7281', '4245', 'Q', '553', 'w', 'x', 'f', '6147', '4519', 'v', 'G', 'k', 'e', 'A', 'U', '4967', 'J']

A:
4245Q553wxf61474519
****