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: 2, 9, ['5705', 'G', 'c', '2817', '2917', 'R', 'g', '8365', 'i', 'G', '1689', '7723', '4575', 'q', '3419']

A: Gc28172917Rg8365i
****
Q: 8, 17, ['n', 'J', '1341', 'd', '3461', 'H', '7783', '979', 'Y', 'y', 'O', '5117', 'R', '6851', '2159', 'C', '1949', 'O', '603', 'E', '2509', '7585', '7963']

A: 979YyO5117R68512159C1949
****
Q: 8, 17, ['i', '9145', '4765', 'q', '3437', '3855', '4741', 'U', 'B', 'D', '8041', '1763', 'T', '7339', '1425', 'V', 'H', 'M']

A:
UBD80411763T73391425VH
****