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: 1, 16, ['Y', 'Z', '4639', '1123', 'M', '9387', '5643', '5381', '9643', '2605', '31', 'v', 'x', 'f', '5653', '8485', 'T', 'Z', '5093', '6741', '7377', '1201', '7309', '7037', 'F', '9377', '7521', 'e']

YZ46391123M9387564353819643260531vxf56538485