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, 9, ['I', 'k', 'J', '2249', '6975', '6013', '8953', 'P', 'Z', '939', '5841', 'h', '1075', '2965', '6239', 'q', '3651', 'Q', '7555', '9725', '5953', '3817', 'g', '2421', '9183', 'z', 'k', 'E', '8275', 'w']

2249697560138953PZ