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: 2, 5, ['n', '9985', 'x', 'h', '2697', 'c']

A: 9985xh2697
****
Q: 2, 4, ['I', 's', 'd', '7253', '4377', '691', '4419']

A: sd7253
****
Q: 5, 8, ['p', '2055', 'q', '9773', 'E', 'Z', 'K', 'a', 'r']

A:
EZKa
****