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: 6, 8, ['8795', 'C', '3171', 'S', '2061', '6451', 'I', '8541', 'g', 'i', '1371', '9249', '861', 'v', '2341', 'a', '5443']

A: 6451I8541
****
Q: 6, 7, ['5491', 'o', '6309', 'O', 'L', 'B', 'y', '5305']

A: By
****
Q: 7, 21, ['4807', '9901', 'h', 'f', '9537', '7115', 'F', 'p', '5565', 'M', '4631', '1411', 'c', 'F', 'u', '8167', 'c', 'z', '9891', 'z', '1117', '7227', '7787', 'L', 'L', '1453', 'B']

A:
Fp5565M46311411cFu8167cz9891z1117
****