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, 18, ['z', '4963', 'W', 'L', 'H', '4185', '9149', 'm', '9499', 'j', '51', 'N', 'l', 'y', 'g', '4089', '5485', '5815', 'i', 'L', '2733', '2519', '4687']

54855815