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, 7, ['q', '4945', 'z', '2455', 'P', '9821', 'm', '9393', 'E', '9899', 'u', 'B', 'T', '9627', '6177', '825', 'i', '4631', '3913', 'X', 'A', 'e', 's', '5857', 's', 'g', 'A', 'a']

z2455P9821m