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, 16, ['7041', '8999', 'r', '683', 'D', 'N', '8993', 'P', '3871', 't', '9821', 'M', 'y', 'p', '5851', 'C', 'T', '3757', 'B', '4027', '1457', 'N', '6195', 'E', 'b', '4129', '5335', 't']

Myp5851C