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: 6, 8, ['7173', '2465', 'c', 'm', '8733', '1125', '8887', 'n', '5949', 'P', 'c', 'H', '4363', 'd', 'p', '9917', '4199', 'x', 'S', '5313', 'G', '3279', '3119', 'I', '9247']

11258887n