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: 3, 18, ['2029', 'u', 'g', '7273', '2601', 'U', '6313', 's', '5967', '2659', '1489', 'Y', 'e', 'y', '5679', 'm', '7545', '7547', '4531', 'X', 'K', 'P', '1997', 'P', 'f', 'k', '673']

g72732601U6313s596726591489Yey5679m75457547