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: 8, 12, ['953', '457', '8887', 'M', '609', 'q', 'T', '9537', 'G', 'a', '3927', 'M', 'r', 'H', '643', 'a', '6009', 'e', '8847', '9059', 'R', '8081', '5979', '617', '6981', '5619', '1885', '429']

9537Ga3927M