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: 16, 18, ['r', 't', 'u', '4067', 's', '9523', 'G', '2053', '3255', '1193', 'v', 'K', '7741', 'a', '5055', 'j', 'A', 'D', 'p', 'u', 'y', 'l', '7955', 'Q', 'k', 'A', 'E', 'V']

jAD