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: 17, 26, ['b', 'O', '415', 'c', '3297', '6297', 'U', 'M', '4563', '5187', '5989', '4675', '1467', '4665', 'W', 'r', '2615', '9545', 'o', 's', '1559', '8913', 'm', '8655', 'Y', '6839']

26159545os15598913m8655Y6839