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, ['1679', '4479', '1303', 'N', '2321', '2305', 'r', '7507', 'z', 'G', 'M', '2159', 'd', 'K', 'M', '8455', '349', '5745', '969', 'T', '7579', '9057', '1619', '4873', '8625', '375', 'A', '8123', 'R', 'Q']

7507zGM2159