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: 7, 30, ['R', '3175', 'J', 'm', '5287', 'j', '6593', 'p', 'C', 'x', '7429', 'w', '6237', 'h', '6809', '697', '7155', 'P', 'F', '4037', 'S', '3861', 'n', 'T', '3221', 'B', '8897', 'V', '2357', '8799']

6593pCx7429w6237h68096977155PF4037S3861nT3221B8897V23578799