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: 3, 19, ['q', '8385', '9175', 'F', '1725', '1623', 'A', '6331', 'R', '2423', '4621', '2295', '9771', '8685', '2243', '8413', '9587', '1485', 'P']

9175F17251623A6331R242346212295977186852243841395871485P