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: 1, 12, ['M', 'Z', 'R', 'q', '6473', 'M', 'V', '8803', 'R', 'x', '4329', '9677', '7517', 'o', '8231', 'm', '6055', 'u', '3139', 'W', 'd', 'o', 'q', '7063', '9807', '1857', '4433', '9553']

MZRq6473MV8803Rx43299677