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: 5, 12, ['X', '1219', '3667', 'i', 'O', '775', 't', '1885', 'x', 'Z', 'R', 'O', '2481', 'W', 'A', '6321', 'e', 'l', 'o', 'g', 'L', '7363', 'R', '8533', '3271', 'o', '5455', '4797', 'a', 's']

O775t1885xZRO