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, 21, ['671', '3171', '9061', '2711', 'w', '6363', '3233', '1325', 'D', 'R', '9219', 'g', 'R', 'a', 'd', '5579', '5119', '7287', '981', 'y', '4109', '6645', '8369', 'X', '9837', 'k', '8579']

90612711w636332331325DR9219gRad557951197287981y4109