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: 4, 10, ['p', 'W', '7061', 'J', 'O', '1553', 't', '1859', '5469', '6269', '1569', 's', '1223', 'f', 'U', 'O', '4235', 'J', '9575', 'a', '59', '5691', 't', '3855', '6501', '2905', 'w', '8447']

A: JO1553t185954696269
****
Q: 1, 5, ['8849', '5383', '4553', '4513', '9299', 'h']

A: 88495383455345139299
****
Q: 11, 20, ['Y', 'r', 'U', '4453', 'W', 'b', '2363', '2303', '1767', 'A', '2119', '6421', 'e', 'B', 'Y', '2169', '7155', 'i', 'Q', '4049']

A:
21196421eBY21697155iQ4049
****