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, 21, ['u', 'i', '3241', '7475', '2321', 'e', 'i', '9819', '907', '1321', 'V', '1171', '6527', 'D', 'a', '8173', 'A', '1761', '3389', '5729', 'N', 'r', 'g', '9679', 'N', 'E', 'P', 'p', '8973', '1005']

9071321V11716527Da8173A176133895729N