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: 7, 12, ['X', 'e', '1663', '6805', '3619', '5783', '6851', '7595', 'k', '2503', 'R', '4043', 'F', '6697', '8523', 'd', '6537', 'Y', '181']

68517595k2503R4043