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: 6, 19, ['y', '277', '9739', '1805', '6493', 'h', '2385', 'D', '7033', 'y', '717', '5909', 'j', '5623', 'n', '6457', 'x', '3543', 'Q', 'K', '6043', '7081', '6277', '7579', '385', 'Z', 'h', '647']

h2385D7033y7175909j5623n6457x3543Q