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, 14, ['R', 'a', 'c', '8459', 'S', 'g', 'r', 'w', '6817', 'd', 'd', '2777', 'J', '3511', 'G', 'E', 'z', '3681', '509', '1591', 'F', '527', 'e', 'P', 'L', 'W', '9131']

w6817dd2777J3511