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: 3, 6, ['u', '7645', '8351', '9867', 'l', '399', 'c', '9025', 'U', 's', 'f', '9803', '2667', '7431', '7863', 'U', 'p', 'r', '1557', 'y', '4255', '2673', 'P', 'D', '2767', 'd']

83519867l399