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: 7, 22, ['w', 'G', 'B', 'A', 's', '3921', '3451', 'V', '8133', '9759', 'r', '5877', '1141', '9039', '4373', 'm', '5059', 'K', 'p', '905', 'N', '499', 'Z', 'A', 'X', '6191', '2653']

3451V81339759r5877114190394373m5059Kp905N499