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: 4, 16, ['8675', 'W', '6159', 'R', '6477', 'O', '5239', '8381', '6315', 'B', 'A', '2931', '7437', 'e', 'x', '6725']

R6477O523983816315BA29317437ex6725