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, 6, ['1399', 'd', 'X', '4795', 'H', 'R']

A: 4795HR
****
Q: 3, 10, ['f', '2411', 'a', '8195', 'p', '6939', 'S', 'S', 'U', 'n', '3095', '8453', '4115', '6413', '8865']

A: a8195p6939SSUn
****
Q: 12, 27, ['7765', '1721', '3083', '2791', '8707', '5947', 'b', '3183', '1635', '9573', 'u', 'c', 'x', 'O', 'h', 'd', '6535', '2261', '4439', 'P', '8893', '2323', 'f', 'W', 'x', '5599', 'K', 'F', 'w', 'D']

A:
cxOhd653522614439P88932323fWx5599K
****