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: 2, 10, ['T', '461', 'h', 'X', '161', '5595', 'Y', 'y', '5617', 'X', 'o', '6341', '8827', '9229', 'H', 'P', 'A', '2801', 'z', 'W', '5227', 'y', '5347', 'J', '7223', '5737', 'q', 'u', '1481']

461hX1615595Yy5617X