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: 8, 13, ['2801', 'N', '793', 'l', '3641', '6295', '8181', '6199', 'c', '2209', 'U', '327', '4791', '959', '3023', 'U', '5623', 'M', 'p', '707', '5597', 'l', '2449', '2597', 'v', '1699']

6199c2209U3274791