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.

1, 7, ['379', '2897', 'p', '2887', '1931', '5275', 'r', 'l', 'p']
3792897p288719315275r

2, 6, ['4765', '4517', 'R', '2125', '6787', '6437']
4517R212567876437

3, 3, ['2293', 'i', '9547', 's', '5079']

9547