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: 10, 18, ['1863', 'R', '1949', '3689', 'w', '1387', '4909', '9037', '7395', 'X', '9247', 'T', 'n', 'B', '6779', 'b', '1799', '6755', 'z', '3861', '3669', 'G', 'V']

X9247TnB6779b17996755