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: 18, 21, ['8669', '8699', '415', '7853', '9107', '9775', '9169', '4193', 'n', 'i', '1061', '8529', 'v', '6867', '9197', '3539', '6479', '9179', 'i', 'j', '8403', 'O', 'w', 'l', 'f']

9179ij8403