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: 4, 19, ['2881', '5701', '9823', '2255', '7491', 'B', '4457', 'T', 'P', '6945', 'N', 'a', '3135', 'i', '3653', '2477', '9119', 'b', 'x', 'Y']

22557491B4457TP6945Na3135i365324779119bx