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: 2, 12, ['283', '6547', '2053', 'P', '5355', '121', '2613', '1549', '9479', 'a', 'I', '4821', '2189', 'j', '2003', 'S', '9007', '9039', '4629']

65472053P5355121261315499479aI4821