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, 17, ['a', 'K', 'c', 'o', '5013', '3693', 'T', '1681', 'y', '383', '8121', '2141', 'P', '9337', '3355', '2581', 'R', '7355', '8189', 'N', '3175', 'u']

T1681y38381212141P933733552581R