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: 6, 10, ['p', '1717', '7011', '6381', '7797', '8061', '1463', 'h', '1641', 'a', 'k', '4221', '6423', 'X', 'T', '7241', '151', 'v', 'n', 'J', '7713', '6379']

80611463h1641a