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: 10, 14, ['D', '4789', 'c', 'K', '6413', 'N', 'Y', '579', 'N', '8649', '7517', '2523', 'F', 'M', 'b', 'u', '3681', 'A', '9611', 'q', 'I', 'c', '6891', 'm', '2431']

864975172523FM