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, 13, ['K', 'O', 'I', '5587', '2301', '5083', '6683', '1973', 'r', 'S', 'Q', 'B', 'q', '1845', 'z', '8501']

A: KOI55872301508366831973rSQBq
****
Q: 2, 7, ['4975', 'a', '4411', 'R', 'E', '1099', 'v', '8849', '4809', '9061', 'k', 'c', 'H', '1595', '803', 'b', '4975']

A: a4411RE1099v
****
Q: 13, 16, ['K', '463', '1613', 'K', 'M', 'i', 'I', '397', '3171', 's', '2739', '2033', '4637', 'H', '1909', 'A', 'D', '3987', 'f', '5253', '3157', '165', 'u']

A:
4637H1909A
****