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, 10, ['p', 'C', '1197', 'G', '4317', 'd', '8555', 'i', 'h', 'S', 'Q', 'b', '3513', '5569', '3065', 'k', '9211', '7347', '2651', '5323', 'T', '5387', 'D', 'z', '127']

8555ihS