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: 6, 20, ['781', 'J', '7809', 'B', '4857', '7441', 'F', 'J', 'q', '9845', 'L', 'W', '5805', 'x', '965', 'C', 'f', 'o', '8129', '6669', '8623', 'h', '41']

7441FJq9845LW5805x965Cfo81296669