Definition: 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.
Input: 6, 14, ['O', 'h', 's', 'K', '4319', '4909', 'F', '3115', '3407', '3265', '291', '9789', 'R', '7237', '2475', '703', 'E', '2203', '1373', 'v', '4615', 'l', '6909', 'h']
Output:
4909F3115340732652919789R7237