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: 5, 24, ['F', 'R', 'n', '8999', 'm', 'c', '9597', '7607', '5989', '9575', 'L', 'n', 'u', '9693', '883', 'X', 'M', 'H', '5615', '1299', 'O', 'q', '1249', 'E', 'W', '3311']

mc9597760759899575Lnu9693883XMH56151299Oq1249E