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: 13, 16, ['M', 'U', '4481', '6539', '7897', '7061', '2917', 'k', '657', 'u', 'T', '2037', '3271', '3065', '8251', 'X', '5103', 'U', '159', '8897', 'v', '4843', 'w', '9197', 'v', '7487', 'h', 'o']

327130658251X