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: 3, 15, ['3939', 'B', '9735', '7127', 'C', 'Y', '4047', 'Y', '7611', '9333', 'M', '1417', '4333', 'W', '4131', '3039', '8839', '5735', '4447', 'r', '5829', 'd']

97357127CY4047Y76119333M14174333W4131