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: 12, 21, ['a', '3823', '6383', 'p', 'o', 'W', 'g', 'n', 'W', '8579', 'G', 'W', '6951', '237', '9261', 'W', 'B', '5285', '379', '5797', 'h', 'J', '5107', '5565', 'r', '8209', 'x', 'f', '3309', '6023']

W69512379261WB52853795797h