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: 4, 18, ['4893', 'Z', 'T', '1665', 'R', '6295', 'G', '1537', 'O', '3167', '2679', '7287', 'q', '8367', '5327', 'E', '343', 'V', 'u']

1665R6295G1537O316726797287q83675327E343V