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: 21, 30, ['9387', '611', '4871', 'G', '219', '6393', 'Y', '5521', '5969', 'F', 'W', '5757', 'E', '2983', 'v', 'N', '4609', 'Y', 'h', 'P', 'S', 'h', 'P', '257', '6655', '6145', '803', 'f', 'x', '5323']

ShP25766556145803fx5323