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: 12, 19, ['r', '7045', '3543', '2719', '6261', '219', '3321', 'Y', '7013', '3531', 'v', 'p', '1505', '9147', 'q', '5551', 'U', '2699', '5145', 'P', '2117', 'G', '53', '1963', '317']

p15059147q5551U26995145