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, 18, ['4841', 'U', 'o', 't', 'C', 'c', 'g', 'S', '161', '9667', 'F', '6543', 'k', '4089', '8819', '9053', '6489', '2647', 'U', 'g', 'r', '5321', 'S', '4961', 'Z', '6445', '859', 'c', '6965', 'l']

A: otCcgS1619667F6543k40898819905364892647
****
Q: 1, 8, ['131', 'M', '8275', '7013', '4435', '4709', '7745', 'm', 'k', 'l']

A: 131M82757013443547097745m
****
Q: 12, 12, ['O', 'y', 'c', 'E', 'g', 'o', '6539', 'r', '8917', '2839', '109', '6143', '3091', 'e', 'S', 'L', 'C', '4359']

A:
6143
****