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: 19, 19, ['H', '6291', '3255', 'O', '1855', '8567', 'p', 'S', '4217', '9945', 'b', '8841', 'G', 'v', '7951', '7733', 'Y', 'z', '5511', '9399', '5247', '3105', 'z', 'j']

5511