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, ['5049', '1181', '6111', '2931', 'R', 'c', '3055', '7673', 'Q', '6433', 'N', '5641', 'G', 'm', 'V', 'f', 'I', 'L', 'k', '9727', '1513', '659', 'm', 'x', '1285', '3635', '5899', 'N', 'A', '4521']

Rc30557673Q6433N5641