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, 11, ['P', 'a', 'j', 'D', '7105', '6719', '9527', '1257', '4241', 'r', '8041', '1789', '5471', 'P', '8303', '8127', '1073', 'w', 'o', '4657', '2269', 'v', '4659', '5695', 'k', 'U', '6653', '5617', 'X']

D71056719952712574241r8041