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: 10, 10, ['V', 'R', '5881', 'I', '3471', 'Z', '1767', '9089', 'd', '2373', 'o', '5111', 'D', '7277', 'd', '875', '8107', '7085', 'Y', 'E', '7915', 'i', 'J', 'U', '1909', '8993', 'B', 'a', 'g']

2373