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: 17, 18, ['9065', 'W', '2479', '4937', '211', '8287', 'm', '5897', '3733', '5169', '9819', '5959', 'g', '7375', '9759', 'd', '9761', '7677', '9425', '781', 's', '4973', 'H', '9363', '5795', 'r', '8885', 'X', 'm']

97617677