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: 9, 15, ['p', 'f', 's', 'i', 'Z', '1475', '6257', 'g', '6631', '6001', '4145', 'c', '4181', '5841', 'N', '6957', 'I', '6951', 'V', '6719', '2555', '9043', 'd', '3049', 'n', '6889', 'Z', '2655']

663160014145c41815841N