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: 8, 10, ['F', 'd', '3071', '7673', 'j', 'Q', '4853', 'p', '3057', 'e', 'H', 'z', '5907', '8429', 'N', 'w', 'l', '6771', 'J', '5935', 'E', '73', 'Q', 'n', '5973', 'l', '5107', 'Z', 'r']

p3057e