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: 1, 21, ['N', 't', '2739', '9461', '7971', 'R', 'X', '3713', '1231', '4261', '1295', '373', '263', '3747', '4405', 'Q', 'u', '5889', 'Q', '1165', 'g', '673', '3721']

Nt273994617971RX371312314261129537326337474405Qu5889Q1165g