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, 23, ['5907', '5109', 'o', 'a', 'Y', 'Q', 'a', 'y', '2743', 'y', 'i', 'h', '6899', 'w', 'f', '9743', '8255', 'l', '6857', '5935', 'H', '2481', '9433', 'v', 'u', 'O', 'm', 'o', '551', '9745']

8255l68575935H24819433