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.
--------
Question: 2, 5, ['7791', '8561', 'r', 'e', '7821', '2611', '1', 'P', 'n', '4097', 'z', 'a', '9589', 'M', '8867']

Answer: 8561re7821


Question: 1, 6, ['l', '1137', 'c', '3537', 'p', '4561', '2819', '9705']

Answer: l1137c3537p4561


Question: 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']

Answer:
Rc30557673Q6433N5641