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: 6, 17, ['i', 'W', '7479', '2993', '107', 'E', '2629', 'U', '4555', 'a', '8469', 'L', 'X', '2189', '9731', 'a', '4369', 't', 'B', 'G', 'R', '5849', 'l', '8627', '595']

E2629U4555a8469LX21899731a4369