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, 19, ['7745', 'u', '4007', '7081', 'f', 'G', '6389', '9397', '1873', '8991', 'p', '8205', '631', '833', '3729', 'l', '6093', '1119', '669', '2319', 'S', 'w', '6585', '6491', 'e', 'B', '8523', '8291', '5365', 'e']

1119669